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 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.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With