Skip to content

Instantly share code, notes, and snippets.

@pich4ya
Created March 9, 2018 05:06
Show Gist options
  • Save pich4ya/456620860729c2c8aea68c30edece759 to your computer and use it in GitHub Desktop.
Save pich4ya/456620860729c2c8aea68c30edece759 to your computer and use it in GitHub Desktop.
How to fix MacOS pip issue 'Command "python setup.py egg_info" failed with error code 1 '
$ pip2.7 install configparser
Collecting configparser
Using cached configparser-3.5.0.tar.gz
...
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/50/7j5rhs4n4tq9hw9mjm2yntg40000gn/T/pip-build-td9Vn6/configparser/
$ pip install --upgrade setuptools
Collecting setuptools
Using cached setuptools-38.5.2-py2.py3-none-any.whl
Installing collected packages: setuptools
Found existing installation: setuptools 38.5.1
Uninstalling setuptools-38.5.1:
Successfully uninstalled setuptools-38.5.1
Successfully installed setuptools-38.5.2
$ pip2.7 install configparser
Collecting configparser
Using cached configparser-3.5.0.tar.gz
Installing collected packages: configparser
Running setup.py install for configparser ... done
Successfully installed configparser-3.5.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment