Ubuntu 安装Python Pip

安装Python2.7:

1 //安装 Python 发布版本,dev包必须安装,很多用pip安装包都需要编译
2 sudo apt-get install python2.7 python2.7-dev

安装Python3.2:

1 //安装 Python 发布版本,dev包必须安装,很多用pip安装包都需要编译
2 sudo apt-get install python3.2 python3.2-dev

pip是Python的包管理工具,建议Python的所有包都用pip进行管理,命令如下:

1 //安装 pip
2 sudo apt-get install python-pip

猜你喜欢

转载自blog.csdn.net/linghugoolge/article/details/83789452
今日推荐