'virtualenv -p python3 /tmp/xx' should work but doesn't
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-virtualenv (Debian) |
Fix Released
|
Unknown
|
|||
python-virtualenv (Ubuntu) |
Fix Released
|
Medium
|
Barry Warsaw |
Bug Description
Binary package hint: python-virtualenv
From the Debian bug report:
$ virtualenv -p python3 /tmp/xx
but it fails with this traceback:
-----snip snip-----
Traceback (most recent call last):
File "/usr/lib/
main()
File "/usr/lib/
prompt=
File "/usr/lib/
install_
File "/usr/lib/
_install_
File "/usr/lib/
import pkg_resources
File "/usr/share/
def _bypass_
SyntaxError: invalid token
Changed in python-virtualenv (Ubuntu): | |
importance: | Undecided → Medium |
assignee: | nobody → Barry Warsaw (barry) |
milestone: | none → oneiric-alpha-1 |
status: | New → In Progress |
Changed in python-virtualenv (Debian): | |
status: | Unknown → New |
Changed in python-virtualenv (Debian): | |
status: | New → Confirmed |
Changed in python-virtualenv (Debian): | |
status: | Confirmed → Fix Released |
This bug was fixed in the package python-virtualenv - 1.6-2ubuntu1
---------------
python-virtualenv (1.6-2ubuntu1) oneiric; urgency=low
* debian/ patches/ remove_ syspath0_ on_reinvoke. patch pyshared, which causes the wrong version of
When virtualenv.py is re-invoked, remove sys.path[0], since it points
to /usr/share/
pkg_resources to be imported. This fixes -p python3 on Debian.
(LP: #787822)
-- Barry Warsaw <email address hidden> Tue, 24 May 2011 18:07:26 -0400