question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

pip ignores --global-option and --install-options when installing from a VCS url

See original GitHub issue

Environment

  • 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:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
kneufeldcommented, Jan 26, 2019

Can confirm that this is still an issue with pip 19.0.1 and git+https

0reactions
cjerdonekcommented, Apr 8, 2019

I posted PR #6389 to address this.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found