[Bug 662611] Re: Not compatible with python2.7

Launchpad Bug Tracker 662611 at bugs.launchpad.net
Thu Nov 25 07:25:11 UTC 2010


This bug was fixed in the package python-virtualenv - 1.4.9-3ubuntu1

---------------
python-virtualenv (1.4.9-3ubuntu1) natty; urgency=low

  * Add weakrefset to REQUIRED_MODULES.  Backports unreleased upstream fix
    for Python 2.7 compatibility.
    http://bitbucket.org/ianb/virtualenv/issue/63/now-python27-requires-_weakrefset
    (LP: #662611)
 -- Barry Warsaw <barry at ubuntu.com>   Wed, 24 Nov 2010 18:05:21 -0500

** Changed in: python-virtualenv (Ubuntu)
       Status: In Progress => Fix Released

-- 
Not compatible with python2.7
https://bugs.launchpad.net/bugs/662611
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is a direct subscriber.

Status in “python-virtualenv” package in Ubuntu: Fix Released

Bug description:
Binary package hint: python-virtualenv

$ virtualenv -p python2.7 testenv
Running virtualenv with interpreter /usr/bin/python2.7
New python executable in testenv/bin/python2.7
Also creating executable in testenv/bin/python
Traceback (most recent call last):
  File "/home/dag/testenv/lib/python2.7/site.py", line 67, in <module>
    import os
  File "/home/dag/testenv/lib/python2.7/os.py", line 398, in <module>
    import UserDict
  File "/home/dag/testenv/lib/python2.7/UserDict.py", line 83, in <module>
    import _abcoll
  File "/home/dag/testenv/lib/python2.7/_abcoll.py", line 11, in <module>
    from abc import ABCMeta, abstractmethod
  File "/home/dag/testenv/lib/python2.7/abc.py", line 8, in <module>
    from _weakrefset import WeakSet
ImportError: No module named _weakrefset
ERROR: The executable testenv/bin/python2.7 is not functioning
ERROR: It thinks sys.prefix is '/home/dag' (should be '/home/dag/testenv')
ERROR: virtualenv is not compatible with this system or executable





More information about the Ubuntu-sponsors mailing list