美文网首页
python包安装工具pip使用总结【linux】

python包安装工具pip使用总结【linux】

作者: EldonZhao | 来源:发表于2017-01-10 15:01 被阅读210次

pip是一款非常好用的python包管理工具,掌握pip的安装使用对python开发人员来说非常有必要。

  • 安装pip:

[root@aa06369be822 home]# curl -O https://bootstrap.pypa.io/get-pip.py
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 1558k  100 1558k    0     0   741k      0  0:00:02  0:00:02 --:--:--  741k
[root@aa06369be822 home]# ls
get-pip.py  senlin
[root@aa06369be822 home]# python get-pip.py
Collecting pip
  Downloading pip-9.0.1-py2.py3-none-any.whl (1.3MB)
    100% |################################| 1.3MB 219kB/s
Collecting setuptools
  Downloading setuptools-32.3.1-py2.py3-none-any.whl (479kB)
    100% |################################| 481kB 1.4MB/s
Collecting wheel
  Downloading wheel-0.29.0-py2.py3-none-any.whl (66kB)
    100% |################################| 71kB 4.5MB/s
Installing collected packages: pip, setuptools, wheel
Successfully installed pip-9.0.1 setuptools-32.3.1 wheel-0.29.0
  • 使用pip:

pip的使用请参考python包安装工具pip使用总结【windows】

参考资料:

相关文章

网友评论

      本文标题:python包安装工具pip使用总结【linux】

      本文链接:https://www.haomeiwen.com/subject/ukdnvttx.html