标签:tun rmi org install 阿里 arch automatic == stc
pip search <包名>
pip install
pip install <包名>==1.0.4
pip install -r requirements.txt
pip install <包名> -i http://pypi.mirrors.ustc.edu.cn/simple/
pip install -e < local project path> (这个命令相当于pip install develop)
阿里源:http://mirrors.aliyun.com/pypi/simple/
科大源:http://pypi.mirrors.ustc.edu.cn/simple/
清华源:http://mirrors.tuna.tsinghua.edu.cn/pypi/simple
官方源:https://pypi.python.org/
直接在配置文件中添加源,如果没有配置文件可以手动添加一个
/etc/pip.conf
[global]
timeout = 6000
index-url = http://pypi.douban.com/simple
pip list
pip freeze
pip list -e
pip list -o
pip install <包名> -U
pip show -f <包名>
pip show
Uninstall packages.
pip is able to uninstall most installed packages. Known exceptions are:
Pure distutils packages installed with python setup.py install, which leave behind no metadata to >determine what files were installed.
Script wrappers installed by python setup.py develop.
pip also performs an automatic uninstall of an old version of a package before upgrading to a newer version.\
pip uninstall <包名>
pip uninstall -y -r requirement.txt
标签:tun rmi org install 阿里 arch automatic == stc
原文地址:http://www.cnblogs.com/pyxiaomangshe/p/7723548.html