简体   繁体   English

Pip 列表显示通过 pipenv 安装的包?

[英]Pip list to show packages installed through pipenv?

I'm using pipenv to manage virtual environments but I'm confused about the following.我正在使用pipenv来管理虚拟环境,但我对以下内容感到困惑。

If I run:如果我跑:

  1. pipenv shell
  2. pip list (or pip3 list ) pip list (或pip3 list

I don't get the modules installed in the virtual environment (or those installed globally), it just prints: pip, setuptools, and wheel.我没有在虚拟环境中安装模块(或全局安装的模块),它只是打印:pip、setuptools 和 wheel。

It finds the right packages when running the code and I can see them in the Pipfile, but shouldn't they show when running pip list ?它在运行代码时找到了正确的包,我可以在 Pipfile 中看到它们,但是在运行pip list时它们不应该显示吗?

Any clarification will be appreciated.任何澄清将不胜感激。

Type pipenv run pip freeze after activating pipenv with pipenv shell使用pipenv shell激活 pipenv 后键入pipenv run pip freeze

you can use pipenv graph to show installed dependencies tree你可以使用pipenv graph来显示已安装的依赖树

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Python无法在Linux上通过pip查找已安装的软件包 - Python not finding installed packages through pip on Linux pip 冻结不显示所有已安装的包 - pip freeze does not show all installed packages 点不显示我已安装的软件包 - Pip doesn't show my installed packages Pipenv 在环境中安装包(Pipenv 文件) - Pipenv installed packages on environment (Pipenv file) pip freeze:仅显示通过pip安装的软件包 - pip freeze: show only packages installed via pip 为什么`pip list`不显示Debian / Ubuntu上`apt`安装的所有Python软件包? - Why does `pip list` not show all Python packages installed by `apt` on Debian / Ubuntu? 是否可以通过“conda install”命令安装所有“pip”软件包? - Can all 'pip' packages be installed through 'conda install' command? 在哪里可以找到通过pip安装的软件包? - Where can I find packages installed through pip? 当其中一些软件包是通过 sudo pip3 安装其他软件包时,如何删除 pip 安装的所有软件包 - how to remove all packages installed by pip when some of them are installed through sudo pip3 others not 安装的软件包的不同列表使用'pip list'和'pip.get_installed_distributions()' - Different list of installed packages sing 'pip list' and 'pip.get_installed_distributions()'
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM