Context :
This is the problem https://github.com/pypa/pip/issues/6717#issue-468204416 I'm facing
and trying to solve via
https://github.com/pypa/pip/issues/6717#issuecomment-511652167
I want to use
--no-build-isolation
In a py2.7 venv If I do:
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.
It installs fine
$ cat abc.txt
bottleneck==1.2.1, --no-build-isolation
but
$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.
and
$ 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.
don't work.
How do I go about it.
I also tried bottleneck tries to install numpy release candidate but it doesn't help.