作者lh1122 (琳)
看板Python
标题[问题] 如何不在 anaconda环境下安装 geopandas
时间Wed Oct 10 23:02:54 2018
大家好,最近在安装 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://webptt.com/cn.aspx?n=bbs/Python/M.1539183776.A.1B4.html
1F:推 clh960524: 你是单纯用pip安装相关模组的whl档案吗 10/12 16:15
2F:→ clh960524: 在windows直接用pip安装的话,通常会失败 10/12 16:16
3F:→ clh960524: (因为pip给的东西有不少是在linux compile的) 10/12 16:16
4F:→ clh960524: 不过我觉得你可以先试试以下的网站 10/12 16:17
6F:→ clh960524: 这个网站提供在windows compie的whl档案 10/12 16:17
7F:→ clh960524: 我觉得或许可以解决你的问题XD 10/12 16:18
8F:→ clh960524: compile过的 10/12 16:21
9F:→ clh960524: 刚刚想到,你目前使用的Python版本? 10/12 16:24
10F:→ uranusjr: 看起来是 Python 和 pip 的板本超级旧才会有这个问题 10/15 21:05
11F:→ lh1122: 大家好,我使用的 python版本是3.6 10/24 07:44
12F:推 ppoo1017: 我装了一堆版本,最後装回anaconda3-5.2.0x86用conda.. 12/23 13:35
13F:推 yiche: pip 没办法装,只好手动安装罗 ! 03/18 02:03
14F:推 yiche: 先下载 shapely、descartes、pyproj、fiona的.whl档,其中f 03/18 02:07
15F:→ yiche: iona会用到gdal,需先下载gdal的.whl才能使用fiona 03/18 02:07
16F:→ yiche: 以上都安装好 就能将下载下来geopandas的.whl 给安装上罗 03/18 02:08