Python sysconfig._get_makefile_filename() fails inside a virtualenv
Bug #1204541 reported by
hollaburoo
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-defaults (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
When Python is running inside a virtualenv located in /usr/local/app/env/ sysconfig.
It incorrectly strips "/local" from the path name, trying to read it's makefile from /usr/app/
The line in question appears to be:
return os.path.
I am running on Ubuntu 12.04 LTS with python version 2.7.3-0ubuntu3.2
To post a comment you must log in.
Hi,
I'm having the same problem. I have, however, another server with the same python and ubuntu versions where I can easily install virtualenvs under /usr/local; the difference is the version of virtualenv 1.7.1.2 (good) vs. 1.10 (bad). So it seems to be an issue with virtualenv.
chris