[Bug 339904] [NEW] python-virtualenv doesn't work with Python 2.6.x

Krzysztof Klimonda kklimonda at syntaxhighlighted.com
Mon Mar 9 12:31:43 UTC 2009


Public bug reported:

Binary package hint: python-virtualenv

kklimonda at ubuntu:~$ lsb_release -rd
Description:	Ubuntu jaunty (development branch)
Release:	9.04
kklimonda at ubuntu:~$ virtualenv --version
1.0.1dev
kklimonda at ubuntu:~$ apt-cache policy python-virtualenv |grep Installed
  Installed: 1.1-1

Why does virtualenv return version 1.0.1dev when package is 1.1-1?
Also the newest virtualenv version is 1.3.2 and version 1.3.1 includes full python 2.6 support (I guess that's the real culprit as those missing modules are part of it).

kklimonda at ubuntu:~$ virtualenv test
New python executable in test/bin/python
'import site' failed; use -v for traceback
Installing setuptools...........
  Complete output from command test/bin/python -c "#!python
\"\"\"Bootstrap setuptoo...


" --always-copy -U setuptools:
  'import site' failed; use -v for traceback
Traceback (most recent call last):
  File "<string>", line 53, in <module>
  File "/home/kklimonda/test/lib/python2.6/os.py", line 49, in <module>
    import posixpath as path
  File "/home/kklimonda/test/lib/python2.6/posixpath.py", line 16, in <module>
    import warnings
ImportError: No module named warnings
----------------------------------------
...Installing setuptools...done.
Traceback (most recent call last):
  File "/usr/bin/virtualenv", line 8, in <module>
    load_entry_point('virtualenv==1.1', 'console_scripts', 'virtualenv')()
  File "/usr/lib/python2.6/dist-packages/virtualenv.py", line 350, in main
    unzip_setuptools=options.unzip_setuptools)
  File "/usr/lib/python2.6/dist-packages/virtualenv.py", line 578, in create_environment
    install_setuptools(py_executable, unzip=unzip_setuptools)
  File "/usr/lib/python2.6/dist-packages/virtualenv.py", line 266, in install_setuptools
    cwd=cwd)
  File "/usr/lib/python2.6/dist-packages/virtualenv.py", line 411, in call_subprocess
    % (cmd_desc, proc.returncode))
OSError: Command test/bin/python -c "#!python
\"\"\"Bootstrap setuptoo...


" --always-copy -U setuptools failed with error code 1
kklimonda at ubuntu:~$

Even if I link all required python modules (warnings.py*, linecache.py*,
_abcoll.py*, abc.py) I get another error:

File "<string>", line 7, in <module>
(...a lot of those lines...)
File "<string>", line 7, in <module>
File "/home/kklimonda/test/lib/python2.6/posixpath.py", line 121, in dirname
    if head and head != '/'*len(head):
RuntimeError: maximum recursion depth exceeded in cmp
(...)
" --always-copy -U setuptools failed with error code 1
kklimonda at ubuntu:~$

** Affects: python-virtualenv (Ubuntu)
     Importance: Undecided
         Status: New

-- 
python-virtualenv doesn't work with Python 2.6.x
https://bugs.launchpad.net/bugs/339904
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list