I am trying to install any package with pip3
, but I always get the error:
Command "python setup.py egg_info" failed with error code 1
I have python 2.7
and python 3.6
installed and pip
with python 2.7
works perfectly, but pip3
always returns the error above.
I have tried updating the setuptools
and the pip
version, but nothing is working. Does anyone know how to solve this problem? One thing I noticed is that pip3
list returns only 3 packages, while pip
list returns over 20. I'm not sure if this is helpful information.
Error Message:
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/setuptools/dist.py", line 522, in fetch_build_egg
return cmd.easy_install(req)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/setuptools/command/easy_install.py", line 666, in easy_install
raise DistutilsError(msg)
distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('incremental>=16.10.1')
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/zy/q9tbvfbd2_lgq7fffv2pxm6w0000gn/T/pip-build-guhz6ox4/Twisted/