ImportError in embedded Python Interpreter

googler.1.webmaster at spamgourmet.com googler.1.webmaster at spamgourmet.com
Fri Jan 30 09:54:56 CET 2009


Hi!


Thanks. Well, os.py is found and all the others which don't need a
library.
I tested this:

I execute Py_Main(...) in my app which executes the console
interpreter and
i tried to execute "import socket" which works.

So Py_Main has something what my created PyRun_SimpleString doesn't
have.
Maybe the environment variables? Something has to be called in Py_Main
which I should call, too.


bye..



More information about the Python-list mailing list