什么是pip
pip 是 Python 中的標(biāo)準(zhǔn)庫(kù)管理器。它允許你安裝和管理不屬于 Python標(biāo)準(zhǔn)庫(kù) 的其它軟件包。
官方提供的pip 示例 $ pip install requests $ pip search xml $ pip show beautifulsoup4 $ pip uninstall requests通過(guò)cmd可以使用
Usage: pip <command> [options] Commands: install 【 安裝包安裝 (Install packages.)】 download 【 下載下載包 (Download packages.)】 uninstall 【 卸載卸載包 (Uninstall packages.)】 freeze 【 凍結(jié)按需求格式安裝的包的輸出 (Output installed packages in requirements format.)】 list 【 列表列出已安裝的包 ( List installed packages.)】 show 【 顯示已安裝軟件包的信息 ( Show information about installed packages.)】 check 【 檢查已安裝的軟件包是否具有兼容的依賴項(xiàng) ( Verify installed packages have compatible dependencies.)】 config 【 配置管理本地和全局配置 ( Manage local and global configuration.)】 search 【 搜索PyPI查找包 (Search PyPI for packages.)】 wheel 【 根據(jù)您的需求構(gòu)建輪子 (Build wheels from your requirements.)】 hash 【 包存檔的哈希計(jì)算哈希 ( Compute hashes of package archives.)】 completion 【 用于命令完成的輔助命令 ( A helper command used for command completion.)】 debug 【 顯示對(duì)調(diào)試有用的信息 ( Show information useful for debugging.)】 help 【 幫助顯示命令的幫助 (Show help for commands.)】由于直接pip下載速度過(guò)慢,往往可以在清華鏡像進(jìn)行下載
總結(jié)
- 上一篇: python中grid函数_python
- 下一篇: mysql 修改引擎_修改MySQL的数