当前位置:
首页 > temp > 简明python教程 >
-
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-81rq7yew/virtualenv
安装 virtualenvwrapper 时报错:Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-81rq7yew/virtualenvwrapper/
root@iZuf6bcqegh8n0l5hcge16Z:~# sudo pip3 install virtualenvwrapper -ihttps://pypi.douban.com/simple/ Collecting virtualenvwrapper Downloading https://pypi.doubanio.com/packages/c1/6b/2f05d73b2d2f2410b48b90d3783a0034c26afa534a4a95ad5f1178d61191/virtualenvwrapper-4.8.4.tar.gz (334kB) 100% |████████████████████████████████| 337kB 2.7MB/s Complete output from command python setup.py egg_info: Could not find a version that satisfies the requirement pbr (from versions: ) No matching distribution found for pbr Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/setuptools/installer.py", line 128, in fetch_build_egg subprocess.check_call(cmd) File "/usr/lib/python3.6/subprocess.py", line 311, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['/usr/bin/python3', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpz5ufj27f', '--quiet', '--index-url', 'http://mirrors.cloud.aliyuncs.com/pypi/simple/', 'pbr']' returned non-zero exit status 1. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "<string>", line 1, in <module> File "/tmp/pip-build-81rq7yew/virtualenvwrapper/setup.py", line 7, in <module> pbr=True, File "/usr/local/lib/python3.6/dist-packages/setuptools/__init__.py", line 143, in setup _install_setup_requires(attrs) File "/usr/local/lib/python3.6/dist-packages/setuptools/__init__.py", line 138, in _install_setup_requires dist.fetch_build_eggs(dist.setup_requires) File "/usr/local/lib/python3.6/dist-packages/setuptools/dist.py", line 698, in fetch_build_eggs replace_conflicting=True, File "/usr/local/lib/python3.6/dist-packages/pkg_resources/__init__.py", line 783, in resolve replace_conflicting=replace_conflicting File "/usr/local/lib/python3.6/dist-packages/pkg_resources/__init__.py", line 1066, in best_match return self.obtain(req, installer) File "/usr/local/lib/python3.6/dist-packages/pkg_resources/__init__.py", line 1078, in obtain return installer(requirement) File "/usr/local/lib/python3.6/dist-packages/setuptools/dist.py", line 754, in fetch_build_egg return fetch_build_egg(self, req) File "/usr/local/lib/python3.6/dist-packages/setuptools/installer.py", line 130, in fetch_build_egg raise DistutilsError(str(e)) distutils.errors.DistutilsError: Command '['/usr/bin/python3', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpz5ufj27f', '--quiet', '--index-url', 'http://mirrors.cloud.aliyuncs.com/pypi/simple/', 'pbr']' returned non-zero exit status 1. ---------------------------------------- Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-81rq7yew/virtualenvwrapper/
执行新的安装
sudo pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple pbr
再次安装virtualenvwrapper ,Successfully installed stevedore-1.32.0 virtualenv-clone-0.5.4 virtualenvwrapper-4.8.4
栏目列表
最新更新
nodejs爬虫
Python正则表达式完全指南
爬取豆瓣Top250图书数据
shp 地图文件批量添加字段
爬虫小试牛刀(爬取学校通知公告)
【python基础】函数-初识函数
【python基础】函数-返回值
HTTP请求:requests模块基础使用必知必会
Python初学者友好丨详解参数传递类型
如何有效管理爬虫流量?
2个场景实例讲解GaussDB(DWS)基表统计信息估
常用的 SQL Server 关键字及其含义
动手分析SQL Server中的事务中使用的锁
openGauss内核分析:SQL by pass & 经典执行
一招教你如何高效批量导入与更新数据
天天写SQL,这些神奇的特性你知道吗?
openGauss内核分析:执行计划生成
[IM002]Navicat ODBC驱动器管理器 未发现数据
初入Sql Server 之 存储过程的简单使用
SQL Server -- 解决存储过程传入参数作为s
关于JS定时器的整理
JS中使用Promise.all控制所有的异步请求都完
js中字符串的方法
import-local执行流程与node模块路径解析流程
检测数据类型的四种方法
js中数组的方法,32种方法
前端操作方法
数据类型
window.localStorage.setItem 和 localStorage.setIte
如何完美解决前端数字计算精度丢失与数