List information about pip's environment when installing.
See original GitHub issueCurrently when running pip install <pkg> we get no information about how we are installing a package. For example:
$ pip install --user calldules
Collecting calldules
Installing collected packages: calldules
Successfully installed calldules
I think it would be extremely useful to list some of this information so we know what’s happening. Such as version of pip, version of python, where is pip, where is package being installed, what version of the package was installed. For example:
$ pip install --user calldules
Using pip 7.1.2 from /usr/lib/python3.5/site-packages (python 3.5)
Install location: /home/ivo/.local/lib/python3.5/site-packages/
Collecting calldules
Installing collected packages: calldules (1.0.1)
Successfully installed calldules
Now I know that I used the right python, the right pip, I installed to a good location, and what version of the package I installed.
It might be helpful to provide more information for other commands as well. uninstall, for instance, already tells you the exact location of the package files you’re uninstalling, so I know I’m getting rid of the right thing. pip list, however, doesn’t tell me anything about where the packages are located.
Issue Analytics
- State:
- Created 8 years ago
- Comments:11 (11 by maintainers)

Top Related StackOverflow Question
Yeah, the scenario this info would be most useful is when the installation fails (or would have, but the user has a chance to ctrl-C when they see the wrong location).
That’s why I said the solution is not the most user-friendly. But other solutions would introduce additional maintenance overhead, since you don’t need to know where about those information otherwise. There is a trade-off.