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管理
基础教程推荐
- CentOS 7.5 安装 Python3.7 2023-09-03
- Python爬取当网书籍数据并数据可视化展示 2023-08-11
- Centos7下安装python环境 2023-09-04
- 基于Python实现股票数据分析的可视化 2023-08-04
- python的环境conda简介 2022-10-20
- centos系统 anaconda3(python3)安装pygrib 2023-09-04
- Python基础学习之函数和代码复用详解 2022-09-02
- Python 中 Elias Delta 编码详情 2023-08-08
- ubuntu 18 python3.6 的安装与 python2的版本切换 2023-09-03
- 四步教你学会打包一个新的Python模块 2022-10-20