This question is for Python 3.5.2 using Anaconda 4.3.0 for Windows 10 (64-bit)
When I try to install packages with pip, I get this error:
Command "python setup.py egg_info" failed with error code 1 in C:\Users\HMGSYS\AppData\Local\Temp\pip-build-xit1wtvr\shapely\
Based on other SO answers, I tried updating setuptools:
pip install
But I get this error:
FileNotFoundError: [WinError 2] The system cannot find the file specified: 'C:\\Users\\HMGSYS\\Anaconda3\\lib\\site-packages\\setuptools-27.2.0-py3.5.egg'
However, if I try to install setuptools:
python -m pip install -U pip setuptools
He tells me that all packages are updated, including setuptools:
Requirement already up-to-date: setuptools in c:\users\hmgsys\anaconda3\lib\site-packages
Also, when I look in lib \ site-packages, I see a folder for setuptools and another for setuptools-34.3.2.dist-info.
What should I do next? Why is setuptools looking for version 27.2.0 and ignoring later versions?
EDIT:
I downloaded the specific version of setuptools that the system was looking for and the error from 'pip install --updrade setuptools' disappeared. However, I still get the first "egg_info" error. I also set up ez_setup, which had no effect.
source share