[Bug 830540] Re: virtualenv don't work

Artur Frysiak 830540 at bugs.launchpad.net
Sun Aug 21 16:28:56 CEST 2011


$ ./x/bin/python -c "import sys;print sys.path"
['', '/tmp/0/x/lib64/python27.zip', '/tmp/0/x/share/python2.7', '/tmp/0/x/share/python2.7/plat-linux2', '/tmp/0/x/share/python2.7/lib-tk', '/tmp/0/x/share/python2.7/lib-old', '/tmp/0/x/lib64/python2.7/lib-dynload', '/usr/lib/python2.7', '/usr/lib64/python2.7', '/tmp/0/x/lib/python2.7/site-packages']

-- 
You received this bug notification because you are subscribed to PLD
Linux.
https://bugs.launchpad.net/bugs/830540

Title:
  virtualenv don't work

Status in PLD Linux Distribution:
  New

Bug description:
  $ /usr/bin/virtualenv --distribute --no-site-packages x
  New python executable in x/bin/python
  Installing distribute......
    Complete output from command /tmp/0/x/bin/python -c "#!python
  \"\"\"Bootstra... main(sys.argv[1:])
  " --always-copy -U distribute:
    Traceback (most recent call last):
    File "<string>", line 18, in <module>
  ImportError: No module named time
  ----------------------------------------
  ...Installing distribute...done.
  Traceback (most recent call last):
    File "/usr/bin/virtualenv", line 9, in <module>
      load_entry_point('virtualenv==1.6.1', 'console_scripts', 'virtualenv')()
    File "/usr/share/python2.7/site-packages/virtualenv.py", line 795, in main
      never_download=options.never_download)
    File "/usr/share/python2.7/site-packages/virtualenv.py", line 892, in create_environment
      search_dirs=search_dirs, never_download=never_download)
    File "/usr/share/python2.7/site-packages/virtualenv.py", line 593, in install_distribute
      search_dirs=search_dirs, never_download=never_download)
    File "/usr/share/python2.7/site-packages/virtualenv.py", line 562, in _install_req
      cwd=cwd)
    File "/usr/share/python2.7/site-packages/virtualenv.py", line 863, in call_subprocess
      % (cmd_desc, proc.returncode))
  OSError: Command /tmp/0/x/bin/python -c "#!python
  \"\"\"Bootstra... main(sys.argv[1:])
  " --always-copy -U distribute failed with error code 1

  $ rpm -qf /usr/bin/virtualenv
  python-virtualenv-1.6.1-1.noarch

To manage notifications about this bug go to:
https://bugs.launchpad.net/pld-linux/+bug/830540/+subscriptions


More information about the pld-bugs mailing list