virtualenv 1.3.3 fails on Ubuntu Jaunty

Bug #346406 reported by Andrew Straw
6
Affects Status Importance Assigned to Milestone
Virtualenv
New
Undecided
Unassigned

Bug Description

Hi, I'm running into some problem attempting to create a virtualenv on Ubuntu Jaunty:

Steps to reproduce:

tar xzf virtualenv-1.3.3.tar.gz
cd virtualenv-1.3.3/
python virtualenv.py ~/my_virtual_env

The output is below. I think this may be a result of some setuptools interaction with Jaunty's new Python installation location described at https://lists.ubuntu.com/archives/ubuntu-devel/2009-February/027439.html

New python executable in /home/astraw/my_virtual_env/bin/python
Installing setuptools...................
  Complete output from command /home/astraw/my_virtual_env/bin/python -c "#!python
\"\"\"Bootstrap setuptoo...

" support-files/setuptools-0.6c9-py2.6.egg:
  error: can't create or remove files in install directory

The following error occurred while trying to add or remove files in the
installation directory:

    [Errno 2] No such file or directory: '/home/astraw/my_virtual_env/local/lib/python2.6/dist-packages/test-easy-install-21970.pth'

The installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:

    /home/astraw/my_virtual_env/local/lib/python2.6/dist-packages/

This directory does not currently exist. Please create it and try again, or
choose a different installation directory (using the -d or --install-dir
option).

----------------------------------------
...Installing setuptools...done.
Traceback (most recent call last):
  File "virtualenv.py", line 1230, in <module>
    main()
  File "virtualenv.py", line 420, in main
    unzip_setuptools=options.unzip_setuptools)
  File "virtualenv.py", line 507, in create_environment
    install_setuptools(py_executable, unzip=unzip_setuptools)
  File "virtualenv.py", line 295, in install_setuptools
    cwd=cwd)
  File "virtualenv.py", line 481, in call_subprocess
    % (cmd_desc, proc.returncode))
OSError: Command /home/astraw/my_virtual_env/bin/python -c "#!python
\"\"\"Bootstrap setuptoo...

" support-files/setuptools-0.6c9-py2.6.egg failed with error code 1

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.