Public bug reported:
Binary package hint: python-virtualenv
Since the first line of /usr/bin/virtualenv is #!/usr/bin/env python,
virtualenv is trying to run the python I built and put into
/usr/local/bin and fails since the virtualenv isn't available to that
python (nor should it be). It fails with
Traceback (most recent call last):
File "/usr/bin/virtualenv", line 2, in <module>
import virtualenv
ImportError: No module named virtualenv
I actually know how to make things work, but /usr/bin/virtualenv should
work regardless of if /usr/local/bin/python is first in my path. I'd
expect it to use the system python -- what ubuntu installs should work
regardless of what I put into /usr/local/bin (within reason).
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: python-virtualenv 1.4.9-3
ProcVersionSignature: Ubuntu 2.6.35-25.44-generic 2.6.35.10
Uname: Linux 2.6.35-25-generic x86_64
Architecture: amd64
Date: Fri Mar 18 14:20:46 2011
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
PackageArchitecture: all
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: python-virtualenv
** Affects: python-virtualenv (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug maverick
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/737734
Title:
virtualenv doesn't work if nonsystem python is in path
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs