简体   繁体   中英

“pipenv install” causes “OSError: Command …/python2.7 - setuptools pip wheel failed with error code 1”

Running:

mkdir pythontest
cd pythontest
pipenv install requests

causes:

 "OSError: Command .../python2.7 - setuptools pip wheel failed with error code 1"

Some additional information:

  • Mac OS
  • I do not seem to have conda

The python version installed by default in Mac is 2.7 which is not a recommended version to build newer applications.

Please install the latest python version (which is 3.7.0) from https://www.python.org/

Then try "pip3.7 install requests"

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