: No module named thread
Why am I encountering there problems?
Sincerely:
Jonatan Nilsson
Iceland
--
View this message in context:
http://www.nabble.com/How-come-I-cant-import-time-or-threading-in-IronPython-tp22581456p22581456.html
Sent from the IronPython mailing list archive at Nabble.com
These libraries you are attempting to import are Python standard library
modules. To import them you must have the Python standard library
available - and on sys.path for the engine being used to do the imports.
You set sys.path programattically using engine.SetSearchPaths (?)
passing in an
Thank you for your quick response.
I tried doing what you asked me.
I added the following to the engine code:
---
ScriptEngine engine = Python.CreateEngine();
engine.SetSearchPaths(new string[] { C:\\Program
Files\\IronPython-2.0.1\\Lib\\, C:\\Python25\\Lib\\ });
, 2009 9:08 AM
To: Discussion of IronPython
Subject: Re: [IronPython] How come I cant import time or threading in
IronPython
Thank you for your quick response.
I tried doing what you asked me.
I added the following to the engine code:
---
ScriptEngine engine
Ok, I figured it out.
I forgot to add C:\\Program Files\\IronPython-2.0.1 and C:\\Python25
Thanks for all the help :D
Jonatan Nilsson wrote:
Thank you for your quick response.
I tried doing what you asked me.
I added the following to the engine code:
---