One - One Code All

Blog Content

python包的版本升级与安装

Python   2007-12-29 08:27:10

先用命令

pip freeze

查看已经安装的package及版本.

如果安装了ansible,就执行命令

pip uninstall ansible

卸载之.

最后运行命令

pip install ansible==1.9.6

安装我们要的版本.


pip install -i https://pypi.tuna.tsinghua.edu.cn/simple pip -U



上一篇:python执行-u参数输出无缓冲
下一篇:安装mysql-python 要求装vcpython27

The minute you think of giving up, think of the reason why you held on so long.