-
-
Notifications
You must be signed in to change notification settings - Fork 152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Several package missing from the output #322
Comments
Are you running |
No I am using in default bash without any virtual environments. But I have installed several packages using pipx that uses virtual environments. So is that the reason? I guess pipx should not affect this as it installs every package in its own virtual environment. isn't it?
|
I never used pipx before, but from tinkering with it for a little bit I think you maybe correct. It looks like pip does not know of any packages installed by pipx (I assume because it does not look at pipx's "venvs" path (e.g. /usr/local/py-utils/venvs). I also see you installed pipdeptree using pipx, and when I ran it I gotten a similar output to yours: $ /usr/local/py-utils/bin/pipdeptree # Using this pipx path because I have pipdeptree installed locally
pip==24.0
pipdeptree==2.15.1
setuptools==56.0.0 From reading the docs, it seems that it creates a virtual environment for every package. We do use pip's internal API to fetch all the packages from the environment, so my best guess (as you mentioned) is that pipdpetree is in its own virtual environment and it does not have access to the global packages. |
I have several installed packages as follows but pipdeptree just show 4 ! What should I do to show the dependency tree for all global installed packages?
The text was updated successfully, but these errors were encountered: