Issue 1517370: Getting an error message import site failed -v traceback. (original) (raw)
Issue1517370
Created on 2006-07-05 07:22 by brijesh_04, last changed 2022-04-11 14:56 by admin. This issue is now closed.
Messages (3) | ||
---|---|---|
msg29041 - (view) | Author: brijesh kumar (brijesh_04) | Date: 2006-07-05 07:22 |
we have not installed python on the machine and trying to use python24.dll in c++ code(by including header python.h). At the time of py_initialize() we get an error import site failed -v traceback. But if python is installed on the machine no such error comes. But we don't want to Install Python on my M/C. Please tell us how to get rid of this error in our scenerio. | ||
msg29042 - (view) | Author: Georg Brandl (georg.brandl) * ![]() |
Date: 2006-07-05 08:05 |
Logged In: YES user_id=849994 You'll have to set Py_NoSiteFlag prior to calling Py_Initialize(). See Python/main.c which does this while parsing command line args. | ||
msg29043 - (view) | Author: SourceForge Robot (sf-robot) | Date: 2006-07-20 02:20 |
Logged In: YES user_id=1312539 This Tracker item was closed automatically by the system. It was previously set to a Pending status, and the original submitter did not respond within 14 days (the time period specified by the administrator of this Tracker). |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:56:18 | admin | set | github: 43612 |
2006-07-05 07:22:18 | brijesh_04 | create |