pip的滚轮支持需要setuptools> = 0.8才能获得dist-info支持 [英] pip's wheel support requires setuptools >= 0.8 for dist-info support

查看:111
本文介绍了pip的滚轮支持需要setuptools> = 0.8才能获得dist-info支持的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一台运行Ubuntu的Jenkins服务器,只要我一直在使用它,就可以很好地运行,并且在其中一项工作中,它在Shiningpanda插件(一个python虚拟环境包装器)下运行了几件事.

I have a Jenkins server running Ubuntu which has been running perfectly fine for as long as I've been using it, and in one of the jobs, it runs a few things under the shiningpanda plugin (a python virtual environment wrapper).

今天或周末某个时候,使用它的作业开始失败,主要的错误似乎是标题,所报告的完整错误是

At some point today, or over the weekend, the job that uses it started failing, with the main error seemingly being the title, full error reported is

> pip install Jinja2
Wheel installs require setuptools >= 0.8 for dist-info support.
pip's wheel support requires setuptools >= 0.8 for dist-info support.

我已经搜索了这个错误或类似的错误,但是我找不到能够解决该错误的有用信息.

I've googled for this error, or anything like it, but I haven't been able to find anything useful towards solving it.

推荐答案

这似乎是一个pip问题,它不是不是Ubuntu特定.对于一些

This seems to be a pip issue that is not Ubuntu-specific. For some

sudo pip install setuptools --no-use-wheel --upgrade ...

似乎有效.

--no-use-wheel选项只是跳过了"wheel档案" 的使用,但是执行与省略该命令的安装完全相同的安装.

The --no-use-wheel option simply skips use of 'wheel archives', but otherwise preforms exactly the same install as a command that omits it.

这篇关于pip的滚轮支持需要setuptools> = 0.8才能获得dist-info支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆