virtualenv doesn't work if nonsystem python is in path
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-virtualenv (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
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/
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/
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: python-virtualenv 1.4.9-3
ProcVersionSign
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)
PackageArchitec
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: python-virtualenv
This bug was fixed in the package python-virtualenv - 1.7.1.2-1
---------------
python-virtualenv (1.7.1.2-1) unstable; urgency=low
[ Clint Byrum ] dist-packges. patch - Dropped, applied upstream syspath0_ on_reinvoke. patch - Dropped, applied upstream
* New upstream release. (LP: #986227)
* d/p/pep3147-
* d/p/remove_
[ Stefano Rivera ] python. patch: Use /usr/bin/python in the shebang tmpdirs. patch: Cleanup temporary working directories script. patch: Include rebuild_script.py. The tmpdir patch
* system-
(Closes: #663228, LP: #737734)
* cleanup_
(Closes: #661272)
- rebuild_
touches some embedded files.
- Rebuild virtualenv.py during package build.
* Bumped standards version to 3.9.3 (no changes needed).
* Add myself to Uploaders.
* Wrap long lists in debian/control.
-- Stefano Rivera <email address hidden> Sun, 22 Apr 2012 17:34:40 +0200