在vscode安装python包的常用语句
时间: 2023-11-19 09:30:45 浏览: 88
python基础包.zip
1. 安装包:`pip install <package_name>`
2. 升级包:`pip install --upgrade <package_name>`
3. 卸载包:`pip uninstall <package_name>`
4. 查看已安装的包:`pip list`
5. 查看某个包的详细信息:`pip show <package_name>`
6. 导出已安装的包列表:`pip freeze > requirements.txt`
7. 安装requirements.txt中指定的包:`pip install -r requirements.txt`
阅读全文