[issue11320] Usage of API method Py_SetPath causes errors in Py_Initialize() (Posix ony))
report at bugs.python.org
Wed Mar 16 17:41:09 CET 2011
Sridhar Ratnakumar <sridharr at activestate.com> added the comment:
> Can you explain why this is a problem in Python?
> Can't lib/python3.2/config-3.2m/Makefile simply be
> provided by virtualenv (by copying it, I guess)?
Yes, I believe virtualenv already does that (or symlinks to it). Python 3.2 changed the path to config and include directories for some reason, viz.
$ ls -d /opt/ActivePython-3.*/lib/python3.?/*config*/
$ ls -d /opt/ActivePython-3.*/include/python3.?*
It is possible that virtualenv is hardcoding the relative path to 'config' (and 'include') directories and thus failing to find the new 'config-3.2m' dir. If that is the case, this is not a problem with Python.
Although msg129372 does point to a Python bug, it may or may not be related to the virtualenv issue noted earlier. Given that virtualenv doesn't officially Python 3 and virtualenv5 is more of a hack, I haven't investigated into this much.
Does that answer your question?
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list