Skip to content

Upgrading to distribute 0.7 (which depends on the new setuptools 0.7) ends in tears #986

Closed
@inducer

Description

@inducer

This just happened:

$ pip install --upgrade distribute
Downloading/unpacking distribute from https://pypi.python.org/packages/source/d/distribute/distribute-0.7.zip#md5=93a7dea3c59cf25aa12d0026840f10ba
  Running setup.py egg_info for package distribute

Downloading/unpacking setuptools>=0.7 (from distribute)
  Running setup.py egg_info for package setuptools

Installing collected packages: distribute, setuptools
  Found existing installation: distribute 0.6.45
    Uninstalling distribute:
      Successfully uninstalled distribute
  Running setup.py install for distribute
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
    ImportError: No module named setuptools
    Complete output from command /var/lib/jenkins/jobs/pytential/workspace/cl_dev/amd_a10/node/master/.env/bin/python -c "import setuptools;__file__='/var/lib/jenkins/jobs/pytential/workspace/cl_dev/amd_a10/node/master/.env/build/distribute/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-KbHbEQ-record/install-record.txt --single-version-externally-managed --install-headers /var/lib/jenkins/jobs/pytential/workspace/cl_dev/amd_a10/node/master/.env/include/site/python2.7:
    Traceback (most recent call last):

  File "<string>", line 1, in <module>

ImportError: No module named setuptools

To make this more precise: I get that "upgrading" distribute means uninstalling it and installing setuptools. I just wish that process wouldn't fail.

Metadata

Metadata

Assignees

No one assigned

    Labels

    auto-lockedOutdated issues that have been locked by automation

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions