上下文:这就是我面临的问题https://github.com/pypa/pip/issues/6717#issue-468204416
并尝试通过https://github.com/pypa/pip/issues/6717#issuecomment-511652167解决
我想用
--no-build-isolation在py2.7的venv中,如果我这样做:
pip install bottleneck==1.2.1 --no-build-isolation
Collecting bottleneck==1.2.1
Collecting numpy (from bottleneck==1.2.1)
Downloading https://files.pythonhosted.org/packages/d7/b1/3367ea1f372957f97a6752ec725b87886e12af1415216feec9067e31df70/numpy-1.16.5-cp27-cp27mu-manylinux1_x86_64.whl (17.0MB)
100% |████████████████████████████████| 17.0MB 1.2MB/s
Installing collected packages: numpy, bottleneck
Successfully installed bottleneck-1.2.1 numpy-1.16.5
You are using pip version 18.0, however version 19.2.3 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.安装得很好
$ cat abc.txt
bottleneck==1.2.1, --no-build-isolation但
$pip install -r abc.txt
Usage: pip [options]
Invalid requirement: bottleneck==1.2.1, --no-build-isolation
pip: error: no such option: --no-build-isolation
You are using pip version 18.0, however version 19.2.3 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.和
$ pip install -r abc.txt
Usage: pip [options]
Invalid requirement: bottleneck==1.2.1 --no-build-isolation
pip: error: no such option: --no-build-isolation
You are using pip version 18.0, however version 19.2.3 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.不工作。
我该怎么做呢?
我也尝试过bottleneck tries to install numpy release candidate,但它不起作用。
发布于 2020-08-21 20:15:05
将pip升级到pip-20.2.2为我解决了这个问题。命令
pip install --upgrade piphttps://stackoverflow.com/questions/57893129
复制相似问题