Bugs item #1517370, was opened at 07/05/06 00:22 Message generated for change (Settings changed) made by sf-robot You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1517370&group_id=5470
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Python Library Group: Python 2.4 >Status: Closed Resolution: None Priority: 5 Submitted By: brijesh kumar (brijesh_04) Assigned to: Nobody/Anonymous (nobody) Summary: Getting an error message import site failed -v traceback. Initial Comment: 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. ---------------------------------------------------------------------- >Comment By: SourceForge Robot (sf-robot) Date: 07/19/06 19:20 Message: 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). ---------------------------------------------------------------------- Comment By: Georg Brandl (gbrandl) Date: 07/05/06 01:05 Message: 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. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1517370&group_id=5470 _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com