我正在使用Python 3.7在VScode上运行文件。我最初有Python 3.8,由于与我的模块不兼容而将其卸载。我当前的点有两个版本:
pip 20.1.1 from /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pip (python 3.8)
pip 19.2.3 from /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pip (python 3.7)
由于我要访问Python 3.7,因此我使用pip3来安装我的所有模块和软件包,但是却遇到这个重复的错误,要求我输入刚刚执行的命令。
输入:pip3 install -e .
输出:
ERROR: Command errored out with exit status 1:
command: /Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/c6/2vfy38wd6pb7svxl7nvq83xm0000gn/T/pip-install-h6s6n0ef/openml/setup.py'"'"'; __file__='"'"'/private/var/folders/c6/2vfy38wd6pb7svxl7nvq83xm0000gn/T/pip-install-h6s6n0ef/openml/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/c6/2vfy38wd6pb7svxl7nvq83xm0000gn/T/pip-record-kl168bcz/install-record.txt --single-version-externally-managed --compile
cwd: /private/var/folders/c6/2vfy38wd6pb7svxl7nvq83xm0000gn/T/pip-install-h6s6n0ef/openml/
Complete output (1 lines):
Please install this package with pip: `pip install -e .` Installation requires pip>=10.0.
----------------------------------------
ERROR: Command errored out with exit status 1: /Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/c6/2vfy38wd6pb7svxl7nvq83xm0000gn/T/pip-install-h6s6n0ef/openml/setup.py'"'"'; __file__='"'"'/private/var/folders/c6/2vfy38wd6pb7svxl7nvq83xm0000gn/T/pip-install-h6s6n0ef/openml/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/c6/2vfy38wd6pb7svxl7nvq83xm0000gn/T/pip-record-kl168bcz/install-record.txt --single-version-externally-managed --compile Check the logs for full command output.