python:关于pip
python pip安装包的一些常用命令: 1 罗列出所有安装过的包: pip list 或 pip freeze 2 安装包: 2.1 直接安装 $ pip install SomePackage # 默认最新版 $ pip install SomePackage==1.0.4 # 某个指定版 $ pip install 'SomePackage>=1.0.4' # 某个版本以上 2.2 从包列表文件里面依次安装 pip install -r example-requirements.txt关于 example-requirements.txt: # ####### example-requirements.txt ####### # ###### Requirements without Version Specifiers ###### nose nose-cov beautifulsoup4 # ###### Requirements with Version Specifiers ###### # See https://www.python.org/dev/peps/...