I am running python 3.6 on windows and am attempting to install Shapely using
pip install shapely==1.6b2
It is giving me the following errors
Command "python setup.py egg_info" failed with error code 1 in C:\Users\Cameron\AppData\Local\Temp\pip-build-242ae_ih\shapely\
I have seen the other posts about this issue and have tried:
pip install --upgrade setuptools
pip install ez_setup
easy_install -U setuptools
Nothing seems to work and I am not sure what to do next. Any advice would be appreciated.
Thanks
You may try to use the binary from this unofficial site . Just use pip install {wheel file name}
to install it.
Shapely‑1.5.17‑cp36‑cp36m‑win32.whl
(32-bit) Shapely‑1.5.17‑cp36‑cp36m‑win_amd64.wh
l (64-bit) Hope this would make the installation easier.
我在通过pip install shapely
安装shapely-1.5.17
遇到了类似的错误,安装后使 pip install 命令起作用:
sudo apt-get install libgeos-dev
As of 2020, you can now simply install Shapely for Windows with:
pip install shapely
(you many need --upgrade
to get at least version 1.7.0, when binary wheels were added for Windows)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.