pip ignores --global-option and --install-options when installing from a VCS url
See original GitHub issueEnvironment
- pip version: 10.0.1
- Python version: 3.6.5
- OS: Linux
Description pip 10.0.1 ignores --install-options installing from git+git://
Likely related to
https://github.com/pypa/pip/issues/5251
$ pip install --ignore-installed --no-deps --install-option="--prefix=/tmp/test-install" git+git://github.com/bccp/nbodykit
$ ls /tmp/test-install
ls: cannot access '/tmp/test-install': No such file or directory
However, installing from zip works:
$ pip install --ignore-installed --no-deps --install-option="--prefix=/tmp/test-install" http://github.com/bccp/nbodykit/archive/master.zip
$ ls /tmp/test-install
lib
Expected behavior installing from VCS shall be no different than from a zip file.
How to Reproduce See above.
Output
See above.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:5 (3 by maintainers)
Top Results From Across the Web
pip install - pip documentation v22.3.1
python -m pip install [options] <requirement specifier> ... Any URL may use the #egg=name syntax (see VCS Support) to explicitly state the project...
Read more >Difference between pip install options "ignore-installed" and ...
--force-reinstall. Before installing a package, will uninstall it first if already installed. Pretty much the same as running pip uninstall ...
Read more >pip install — pip 10.0.0.dev0 documentation
pip install [options ] <requirement specifier> [package-index-options] ... pip ... Any URL may use the #egg=name syntax (see VCS Support) to explicitly state ......
Read more >pip install — pip 8.1.1 documentation
Install packages from: PyPI (and other indexes) using requirement specifiers. VCS project urls. Local project directories. Local or remote ...
Read more >pip-install command man page - python3-pip | ManKier
python -m pip install [options] <requirement specifier> ... in editable mode (i.e. setuptools "develop mode") from a local project path or a VCS...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Can confirm that this is still an issue with pip
19.0.1
andgit+https
I posted PR #6389 to address this.