I have tried setting the search path option as well, but I still get the 
Import Error.
The third party module is using warnings python module to log warning 
messages, so when I just build my app with the third party module (in the 
app's dir) I get "unable to find warnings" error.
If I set the search path to python libs (which I am sure I should not be 
doing and is not the intent of the pyjs designers at all) I get past the 
import error for warnings module, but I now get a pop up about something 
like "Still waiting to load os module".
Any help is appreciated.
Thx

On Wednesday, February 6, 2013 3:35:42 PM UTC-8, [email protected] wrote:
>
> I am a newbie; I am sure this question has been answered before.
> I have looked at a few examples and did not find any that import a third 
> party python module.
> I am trying to write a simple web page that imports a third party python 
> module (pydicom).
> For starters, just to get it working I copied the third party modules to 
> the current dir (of my main py file) and invoked pyjsbuild.
> I noticed that the third party modules were built successfully, but when I 
> bring up the web page I get "ImportError"
> It seems like it is asking me to pull in python system modules as well 
> (anything that the third party module depends on).
> I know that pyjs compiler does not search the normal python path for 
> locating modules, my question is how do I specify the search path and fix 
> the import error(s)?
> And also, what are the best practices to accomplish this?
> Thx,
>
>   -- Jay
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Pyjs.org Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to