Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 280959 - >=app-admin/eselect-python-20090801 breaks dev-python/virtualenv
Summary: >=app-admin/eselect-python-20090801 breaks dev-python/virtualenv
Status: RESOLVED DUPLICATE of bug 281971
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-10 06:16 UTC by Sok Ann Yap
Modified: 2009-08-22 02:26 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sok Ann Yap 2009-08-10 06:16:31 UTC
Since app-admin/eselect-python-20090801, virtualenv only works if the path to the actual python binary is specified.

This doesn't work:

$ virtualenv ~/virtualenv/test
New python executable in /home/sayap/virtualenv/test/bin/python
ERROR: The executable /home/sayap/virtualenv/test/bin/python is not functioning
ERROR: It thinks sys.prefix is '/home/sayap' (should be '/home/sayap/virtualenv/test')
ERROR: virtualenv is not compatible with this system or executable

This works:

$ virtualenv -p /usr/bin/python2.6 ~/virtualenv/test


Reproducible: Always
Comment 1 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-08-10 19:01:25 UTC
virtualenv should work with >=app-admin/eselect-python-20090804.
Comment 2 Sok Ann Yap 2009-08-11 02:09:41 UTC
No, it doesn't work for me.

machine ~ # eselect python list
Available python interpreters:
  [1]   python2.6 *
machine ~ # eselect python version
Version 20090804
machine ~ # virtualenv /tmp/test
New python executable in /tmp/test/bin/python
ERROR: The executable /tmp/test/bin/python is not functioning
ERROR: It thinks sys.prefix is '/root' (should be '/tmp/test')
ERROR: virtualenv is not compatible with this system or executable
machine ~ # virtualenv /tmp/test -p /usr/bin/python2.6
Running virtualenv with interpreter /usr/bin/python2.6
New python executable in /tmp/test/bin/python2.6
Not overwriting existing python script /tmp/test/bin/python (you must use /tmp/test/bin/python2.6)
Installing setuptools...............done.
Comment 3 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-08-22 02:26:23 UTC
This bug will be fixed by changes suggested in bug #281971.

*** This bug has been marked as a duplicate of bug 281971 ***