命令 | 描述 |
---|---|
install | Install packages. |
download | Download packages. |
uninstall | Uninstall packages. |
freeze | Output installed packages in requirements format. |
list | List installed packages. |
show | Show information about installed packages. |
check | Verify installed packages have compatible dependencies. |
config | Manage local and global configuration. |
search | Search PyPI for packages. |
wheel | Build wheels from your requirements. |
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. |
安装:
安装指定版本 pip install package==1.0.0
根据需求安装
pip install -r requirements.txt
pip freeze > requirements.txt
本地安装: pip install wheel
参考:
清华镜像