1.去51cto下载pip-8.0.2.tar.gz包2.解压pip-8.0.2.tar.gz[root@localhost pip-8.0.2]# tar -zxvf pip-8.0.2.tar.gz3.安装[root@localhost pip-8.0.2]# cd pip-8.0.2[root@localhost pip-8.0.2]# python setup.py ins...
1.去51cto下载pip-8.0.2.tar.gz包
2.解压pip-8.0.2.tar.gz
[root@localhost pip-8.0.2]# tar -zxvf pip-8.0.2.tar.gz
3.安装
[root@localhost pip-8.0.2]# cd pip-8.0.2
[root@localhost pip-8.0.2]# python setup.py install
4.出现如下报错
[root@localhost pip-8.0.2]# python setup.py install
Traceback (most recent call last):
File "setup.py", line 6, in <module>
from setuptools import setup, find_packages
ImportError: No module named setuptools
5.此错误说明缺少setuptools,去下载setuptools-2.0.tar.gz
[root@localhost ~]# wget https://pypi.python.org/packages/source/s/setuptools/setuptools-2.0.tar.gz
6.解压setuptools-2.0.tar.gz
[root@localhost pip-8.0.2]# tar -zxvf setuptools-2.0.tar.gz
7.安装
[root@localhost setuptools-2.0]# python setup.py build
[root@localhost setuptools-2.0]# python setup.py install
8.切换到pip-8.0.2目录下再次进行安装
[root@localhost pip-8.0.2]# python setup.py install
...
Processing dependencies for pip==8.0.2
本文标题为:CentOS7.2下安装python安装pip-8.0.2管理
- CentOS7 安装 Python3.6 2023-09-04
- windows安装python2.7.12和pycharm2018教程 2023-09-03
- python中defaultdict用法实例详解 2022-10-20
- Python实现将DNA序列存储为tfr文件并读取流程介绍 2022-10-20
- Python 保存数据的方法(4种方法) 2023-09-04
- Python之路-Python中的线程与进程 2023-09-04
- python中列表添加元素的几种方式(+、append()、ext 2022-09-02
- python线程池ThreadPoolExecutor与进程池ProcessPoolExecutor 2023-09-04
- 在centos6.4下安装python3.5 2023-09-04
- Python Pandas如何获取和修改任意位置的值(at,iat,loc,iloc) 2023-08-04