简体   繁体   中英

command python setup.py egg_info failed

I keep getting the errors "pg_config executable not found" and "Command python setup.py egg_info failed with error code 1" when trying to run pip install -r inside a virtual environment. I have done everything that has been suggested on other questions, including running pip install --upgrade setuptools , easy_install -U setuptools and pip install --upgrade Distribute . Is there anything else that can fix this error? The only people getting this error, for my group, are the two of us who are on Windows. Those who are on Mac OS aren't getting this error, only those of us who are on Windows. Screenshot here: http://tinypic.com/r/2drtd38/8

The Gohlke precompiled binaries are usually an easier way to install packages on windows:

psycopg

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM