PIP

Python包管理工具

pip是一個現代的,通用的Python包管理工具。提供了對Python包的查找、下載、安裝、卸載的功能。

簡介


系統執令
官提供示例
$   
$ pip search xml
$ pip show beautifulsoup4
$ pip uninstall requests

常見的命令


Usage:
pip [options]
Commands:
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【搜索PyPI查找包(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.)】