原文:
作者:老黑大伟
链接:https://www.jianshu.com/p/dd67e564927a
pip是常用的python包管理工具,用python的同学,都离不开pip。
第一种 在系统自带的python2.7的路径下
1、pip是python的包管理工具,在Python2.7的安装包中,easy_install.py是默认安装的,而pip需要我们手动安装。
打开终端:
sudo easy_install pip
第二种 在python3的路径下
curl https://bootstrap.pypa.io/get-pip.py | python3

安装后
查看版本
pip --version

查看相应的包
pip3 list

安装和更新pip
pip install --upgrade pip

网友评论