If you need to find which version of a specific package is installed, use the pip show <package-name> command. shell pip show requests If you need to check the versions of all of the installed, packages, use the pip freeze command. ...
pip show [包名] # 查看指定已安装包的详细信息,包含包中每个文件的安装路径信息 pip show -f [包名] # 查看aliyun-python-sdk-core的信息 pip show aliyun-python-sdk-core # 查看aliyun-python-sdk-core的详细信息 pip show -f aliyun-python-sdk-core figure 3.png 卸载包 # 卸载指定包pip uninstall...
hash Compute hashes of package archives. completion A helper command usedforcommand completion. help Show helpforcommands. General Options:-h, --help Show help.--isolated Run pipinan isolated mode, ignoring environment variablesanduser configuration.-v, --verbose Give more output. Optionisadditive,...
hash Compute hashes of package archives. completion A helper command used for command completion. debug Show information useful for debugging. help Show help for commands. General Options: -h, --help Show help. --debug Let unhandled exceptions propagate outside the main subroutine, instead of lo...
hash Compute hashes of package archives. completion A helper command used for command completion. debug Show information useful for debugging. help Show help for commands. General Options: -h, --help Show help. --debug Let unhandled exceptions propagate outside the ...
查看包的详细信息,可以使用show + 包名 代码语言:javascript 复制 pip show packagename 比如查看上边安装好的pandas包详细 代码语言:javascript 复制 >pip show pandasName:pandasVersion:1.5.2Summary:Powerful data structuresfordata analysis,time series,and statistics ...
hashCompute hashes of package archives计算包装档案的关键字 completionA helper command used for command completion一个帮助指令用作指令完成 helpShow help for commands显示该项指令如何使用 我们接下来详细展示几个常用的pip command使用方式: pip --version # Python2.x 版本命令pip3 --version # Python3.x...
pip uninstall package pip uninstall -r requirements.txt 更新包 pip install --upgrade package pip install -U package# --upgrade 可简写为 -U 显示包所在的目录 pip show -f <包名> 查询可升级的包 piplist--outdated# 列出所有过期的库piplist-o# --outdated的简写,列出所有过期的库 ...
pip install --upgrade package pip install -U package# --upgrade 可简写为 -U 显示包所在的目录 pip show -f <包名> 查询可升级的包 piplist--outdated# 列出所有过期的库piplist-o# --outdated的简写,列出所有过期的库 卸载pip python -m pip uninstall pip ...
pip install --upgrade package_name # 或者是 pip install -U package_name 查看某个包的信息 可以通过以下的这个命令行来查看指定包的信息, pip show -f requests output Name: requests Version: 2.24.0 Summary: Python HTTP for Humans. Home-page: https://requests.readthedocs.io ...