Pip does not abort when asked to install non-existent extra
See original GitHub issueEnvironment
- pip version: doesn’t matter
- Python version: doesn’t matter
- OS: doesn’t matter
Description
Suppose, you wanted to install azure[common]
. Well, there isn’t such a package. However, if you do this, azure
package (seems like) will be installed.
Expected behavior
Error is shown to the user trying to install a nonexistent package.
How to Reproduce
Run pip install 'azure[common]'
.
Output
A long wall of text indicating that things are being installed.
Issue Analytics
- State:
- Created 5 years ago
- Comments:10 (7 by maintainers)
Top Results From Across the Web
Common Pipenv Errors and How to Solve Them: Why Won't it ...
Locking Issue: Pipfile Contains a Reference to an Inexistent Package. Pipfile won't lock when it tries to install packages that don't exist, i.e.,...
Read more >pip not installing modules - python - Stack Overflow
On Windows, pip works only when modules are pure python or pypi has wheel package unless you have proper build system. – otterb....
Read more >pip Documentation
Perform the installation using –no-deps for an extra dose of insurance against installing anything not explicitly listed. This strategy is easy ...
Read more >pipenv Documentation - Read the Docs
Automatically install required Python version when pyenv is available. ... Will create a virtual env and install dependencies (if it does not exist...
Read more >Changelog - pip documentation v22.3.1
A package in a wheel is (by definition) not installed, and is not ... Fix an issue where pip did not consider dependencies...
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 FreeTop 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
Top GitHub Comments
@xavfernandez I changed the labels on this issue since it’s really more about extras and not dependency resolution. Lemme know if you disagree. 😃
We could maybe add an option to abort installation on a missing extra but I’m not really convinced…