Message144244
| 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 | <1316357912.44.0.729526450771.issue11320@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
Hello everyone, I have found the reason for the problem. From the manual http://docs.python.org/py3k/c-api/init.html#Py_SetPath , 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 sysconfig.py to generate the makefile' s name, and the empty sys.prefix will cause the wrong path: lib/python3.2/config-3.2m/Makefile sysconfig.py imported by site.py, and site.py used in the Py_InitializeEx. So ... |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2011-09-18 14:58:32 | dbzhang800 | set | recipients: + dbzhang800, barry, ncoghlan, pitrou, vstinner, tarek, srid, palm.kevin |
| 2011-09-18 14:58:32 | dbzhang800 | set | messageid: <1316357912.44.0.729526450771.issue11320@psf.upfronthosting.co.za> |
| 2011-09-18 14:58:31 | dbzhang800 | link | issue11320 messages |
| 2011-09-18 14:58:31 | dbzhang800 | create | |