This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author dbzhang800
Recipients barry, dbzhang800, ncoghlan, palm.kevin, pitrou, srid, tarek, vstinner
Date 2011-09-18.14:58:31
SpamBayes Score 0.00015348243
Marked as misclassified No
Message-id <>
Hello everyone,

I have found the reason for the problem.

From the manual , 
we can see that:

After we call Py_SetPath,both sys.prefix and sys.exec_prefix will be empty.

However, sys.prefix will be used in the to generate the makefile' s name, and the empty sys.prefix will cause the wrong path: lib/python3.2/config-3.2m/Makefile imported by, and used in the Py_InitializeEx.

So ...
Date User Action Args
2011-09-18 14:58:32dbzhang800setrecipients: + dbzhang800, barry, ncoghlan, pitrou, vstinner, tarek, srid, palm.kevin
2011-09-18 14:58:32dbzhang800setmessageid: <>
2011-09-18 14:58:31dbzhang800linkissue11320 messages
2011-09-18 14:58:31dbzhang800create