当我尝试pipinstall pipenv时,我收到以下错误:
nathan@DESKTOP-KKB4QL2:/mnt/c/Users/Nathan/Dropbox$ pip install pipenv
Downloading/unpacking pipenv
Downloading pipenv-11.7.1.tar.gz (5.0MB): 5.0MB downloaded
Running setup.py (path:/tmp/pip_build_nathan/pipenv/setup.py) egg_info for package pipenv
error in pipenv setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers
Complete output from command python setup.py egg_info:
error in pipenv setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers
----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /tmp/pip_build_nathan/pipenv
Storing debug log for failure in /home/nathan/.pip/pip.log
Run Code Online (Sandbox Code Playgroud)
我试图更新pip,但这只是导致异常.
确保使用正确版本的pip.你的点子可能默认为2.7,你可以尝试pip3.6或在你的系统中找到任何/所有版本的点子.
我尝试的时候遇到了这个问题
pip install --user pipenv
Run Code Online (Sandbox Code Playgroud)
当我尝试时修复了(在MacOS sierra上)
sudo -H pip3.6 install -U pipenv
Run Code Online (Sandbox Code Playgroud)
谢谢