Request 155 was acted upon. _________________________________________________________________________
URL: https://rt.openpkg.org/id/155 Ticket: [OpenPKG #155] Subject: [python] core library imports fail on Solaris Requestors: [EMAIL PROTECTED] Queue: openpkg Owner: Nobody Status: new Transaction: Ticket created by [EMAIL PROTECTED] Time: Mon Jun 09 20:18:53 2003 _________________________________________________________________________ I attempted to submit a ticket in RT about this, but the application crashed with an internal server error. Please accept my apology if anybody receives this twice as a result. On the present CURRENT python package, the import of libraries fails at runtime. Both the implicitly included libraries ('site') and the explicitly included libraries (e.g., 'string') fail to cleanly import: import-test.py -------------- import string print "Stuff" > bash$ python import-test.py > > Could not find platform independent libraries <prefix> > Could not find platform dependent libraries <exec_prefix> > Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] > 'import site' failed; use -v for traceback > Traceback (most recent call last): > File "import_test.py", line 3, in ? > import string > ImportError: No module named string Now defining the PYTHONHOME and PYTHONPATH environment variables does help. The program will succeed, but this manual intervention seems a little clunky. > bash$ PYTHONHOME=/cw PYTHONPATH=/cw/lib/python python import-test.py > > Stuff -- Matt Hoosier CIS Accounts Manager Kansas State University
signature.asc
Description: PGP signature