[python-daemon-Bugs][314948] Version 2.0.3 causes errors in subsequent pip installs

python-daemon-bugs at alioth.debian.org python-daemon-bugs at alioth.debian.org
Fri Jan 23 01:30:23 UTC 2015


python-daemon-Bugs item #314948 was changed at 2015-01-23 12:30 by Ben Finney
You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=413098&aid=314948&group_id=100328

Status: Open
Priority: 3
Submitted By: Paul Joireman (joireman-guest)
Assigned to: Nobody (None)
Summary: Version 2.0.3 causes errors in subsequent pip installs 


Initial Comment:
When I install python-daemon 2.0.3 in a virtual environment with pip, an error is reported and subsequent installs using pip seem to fail with the same error:

=====
Downloading/unpacking docutils (from python-daemon)
  […]
  Downloading from URL https://pypi.python.org/packages/source/d/docutils/docutils-0.12.tar.gz#md5=4622263b62c5c771c03502afa3157768 (from https://pypi.python.org/simple/docutils/)
  Running setup.py (path:/home/pwj/.virtualenvs/venv/build/docutils/setup.py) egg_info for package docutils
  […]
Installing collected packages: python-daemon, lockfile, docutils
  Running setup.py install for docutils
    Running command /home/pwj/.virtualenvs/venv/bin/python -c "import setuptools, tokenize;__file__='/home/pwj/.virtualenvs/venv/build/docutils/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).r\
ead().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-7iBtrf-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/pwj/.virtualenvs/venv/include/si\
te/python2.7
    […]
    Running docutils-0.12/setup.py -q bdist_egg --dist-dir /tmp/easy_install-XO8spm/docutils-0.12/egg-dist-tmp-0EsqLD
    Traceback (most recent call last):
      […]
      File "/home/pwj/.virtualenvs/venv/local/lib/python2.7/site-packages/pkg_resources.py", line 2147, in load
        ['__name__'])
    ImportError: No module named version
=====

The pip.log is attached, I get the same error at the end when I install other modules (flask, celery, for example). 

Rolling back to 2.0.2 solves this issue, but wanted to report this in any case.

Using Python 2.7.6 and pip 1.5.6


----------------------------------------------------------------------

>Comment By: Ben Finney (bignose-guest)
Date: 2015-01-23 12:30

Message:
Thanks for the report. I have updated the description to focus on the point where the error occurs.

----------------------------------------------------------------------

You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=413098&aid=314948&group_id=100328



More information about the python-daemon-bugs mailing list