Resolve command "python setup.py egg_info" failed with error code 1 bumpy Road

Source: Internet
Author: User

Machine: OS X

Local want to run the next open source Django Blog app, down the source into the PIP Install-r requirements.txt

Result repeated error, Command "python setup.py egg_info" failed with error code 1

Tried many times to keep this error in the last line.

I started thinking about permissions, setuptools issues.

Later, there is a turnaround, I put requirements.txt inside one after the installation, the last is PSYCOPG2 this installation has a problem

Pip I wronged you, but the official source for the watercress after the download speed of the leverage, from then on I abandoned PyPI source.

Back to the problem, PSYCOPG2 is PostgreSQL's Python interface, the reason for the error is very simple, that is, I will first install PostgreSQL database.

sudo brew install postgresqlpassword:==> installing dependencies for Postgresql:makedepend, OpenSSL, readline==> I nstalling PostgreSQL dependency:makedepend==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/  makedepend-1.0.5.yosemite.bottle.tar.gz######################################################################## 100.0%==> Pouring makedepend-1.0.5.yosemite.bottle.tar.gz

Resolve command "python setup.py egg_info" failed with error code 1 bumpy Road

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.