看板 Python 關於我們 聯絡資訊
大家好,最近在安裝 geopandas遇到不少的錯誤 我的環境是 win10,在 pip install geopandas 會報錯:Command "python setup.py eg g_info" failed with error code 1 in ~ 上網查過資料說需要先安裝相關模組的 whl檔案,才能去pip install geopandas。但安 裝 whl檔時也會報錯: 檔案名稱.whl is not a supported wheel on this platform. 已 經確認過位元是正確的,但不知道為什麼還是有這個問題,因此想問問前輩如何安裝 geo pandas的。 謝謝 -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 42.77.120.133 ※ 文章網址: https://www.ptt.cc/bbs/Python/M.1539183776.A.1B4.html
clh960524: 你是單純用pip安裝相關模組的whl檔案嗎 10/12 16:15
clh960524: 在windows直接用pip安裝的話,通常會失敗 10/12 16:16
clh960524: (因為pip給的東西有不少是在linux compile的) 10/12 16:16
clh960524: 不過我覺得你可以先試試以下的網站 10/12 16:17
clh960524: 這個網站提供在windows compie的whl檔案 10/12 16:17
clh960524: 我覺得或許可以解決你的問題XD 10/12 16:18
clh960524: compile過的 10/12 16:21
clh960524: 剛剛想到,你目前使用的Python版本? 10/12 16:24
uranusjr: 看起來是 Python 和 pip 的板本超級舊才會有這個問題 10/15 21:05
lh1122: 大家好,我使用的 python版本是3.6 10/24 07:44
ppoo1017: 我裝了一堆版本,最後裝回anaconda3-5.2.0x86用conda.. 12/23 13:35
yiche: pip 沒辦法裝,只好手動安裝囉 ! 03/18 02:03
yiche: 先下載 shapely、descartes、pyproj、fiona的.whl檔,其中f 03/18 02:07
yiche: iona會用到gdal,需先下載gdal的.whl才能使用fiona 03/18 02:07
yiche: 以上都安裝好 就能將下載下來geopandas的.whl 給安裝上囉 03/18 02:08