Winpe技术网

淡泊以明志,宁静以致远。

Python 安装报No module named setuptools错误的解决方法

前几天使用源码安装pip,安装过程中报No module named setuptools 错误。为了避免以后再遇到此类问题,特记录解决过程。1.准备环境:OS:Oracle Linux 7.5 最小化安装Python 默认版本2.下载 setuptools ,撰写这篇文章的时候为40.0.0#wget https://files.pythonhosted.org/packages/d3/3e/1d74cdcb393b68ab9ee18d78c11ae6df8447099f55fe86ee842

Python pip18.0 安装及使用详解

pip是类似于Red Hat Linux yum,安装管理python的包很方便。写这篇日志的原因是为了安装一个qqbot,发现python默认没有安装pip所以就整理这篇日志以便后来者使用。环境:OS:Oracle Linux 7.5 最小化安装Python 2 >=2.7.9 or Python 3 >=3.4方法一:在线安装1.下载get-pip.py 撰写这篇日志的时候pip版本为18.0#curl https://bootstrap.pypa.io/get-pip.py -
<< 1 >>

Powered By Z-BlogPHP 1.7.3

Copyright © 2019 Xiaofeng.org
豫ICP备16026559号-1