Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

pip's wheel support requires setuptools >= 0.8 for dist-info support

Tags:

pip

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.

like image 896
seaders Avatar asked Jan 03 '14 12:01

seaders


People also ask

Does pip use Setuptools?

pip is a higher-level interface on top of setuptools or Distribute. It uses them to perform many of its functions but avoids some of their more controversial features, like zipped eggs.

How do I set up Setuptools for Python on Windows?

Step 1: Download the latest source package of Setuptools for Python3 from here. Step 2: Extract the downloaded package using the given command. Step 3: Go to the setuptools-60.2. 0 folder and enter the following command to install the package.


1 Answers

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

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

appears to have worked.

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

like image 56
orome Avatar answered Sep 28 '22 08:09

orome