Pip install of shapely giving "python setup.py egg_info" failed with error code 1 error

user5897587 picture user5897587 · Jan 29, 2018 · Viewed 9.1k times · Source

I am trying to install shapely 1.5.6 in Windows 10 (python 3). I am getting this strange error.

python setup.py egg_info" failed with error code 1 in c:\users\user1\appdata\local\temp\pip-build-g1iztcx1\shapely

I have tried updating pip but no luck. What could be the problem?

Answer

F Blanchet picture F Blanchet · Oct 8, 2018

You can directly download the Shapely Wheel here and run pip install Shapely-1.6.4.post1-cp37-cp37m-win_amd64.whl (depending on the name of the package you decided to download).
This worked well for me with Windows 10 and python 3.