Using MacOSX I was trying to install psycopg2 by using the command,
sudo pip install psycopg2
And I was getting this error:
command python setup.py egg_info failed with error code 1
I solved the issue by installing http://brew.sh/ and running following commands:
brew install python
brew install postgres
References:
http://stackoverflow.com/questions/5420789/how-to-install-psycopg2-with-pip-on-python
sudo pip install psycopg2
And I was getting this error:
command python setup.py egg_info failed with error code 1
I solved the issue by installing http://brew.sh/ and running following commands:
brew install python
brew install postgres
References:
http://stackoverflow.com/questions/5420789/how-to-install-psycopg2-with-pip-on-python
2 comments:
This was very helpful. Thanks!
Need more command $ brew link postgressql
Post a Comment