pip install list
时间: 2023-09-28 09:08:25 浏览: 116
pip安装程序
5星 · 资源好评率100%
要列出已安装的Python包,可以使用以下命令:
1. 在命令行中输入"pip list"或"pip freeze",这将显示已安装的所有包及其版本号。
2. 如果要将所有已安装的包及其版本号导出到一个文件中,可以使用以下命令: "pip freeze > requirements.txt"。这将创建一个名为requirements.txt的文件,其中包含所有已安装包及其版本号的列表。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [python pip常用指令(install,list,freeze)](https://blog.csdn.net/kkshuaicc/article/details/89739432)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *3* [python pip常用指令(install,list,freeze,show,help)建议保存](https://blog.csdn.net/fulk6667g78o8/article/details/122690658)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文