pip show shows wrong package location when project is installed as editable · Issue #11638 · pypa/pip (original) (raw)
Description
When installing a python package in editable mode (-e
), the expected location to show in pip show
is the editable location. Instead, it shows the site-packages
path.
Expected behavior
The location should be:
Instead I'm getting:
/usr/local/lib/python3.11/site-packages/package
pip version
23.0
Python version
3.11
OS
macOS Ventura 13.1 Beta (22C5044e)
How to Reproduce
Install a python package as folllows:
python3 -m pip install -e /path/to/package
Now, try to show the package's location as follows:
python3 -m pip show package
Output
No response
Code of Conduct
- I agree to follow the PSF Code of Conduct.