« Return to Thread: Running SPSS application from IronPython

Re: Running SPSS application from IronPython

by Michael Foord-5 :: Rate this Message:

Reply to Author | View in Thread

Well - prima-facie an ImportError saying the module can't be found  
means that the path containing the package/module isn't in sys.path  
when you do the import (although it's *possible*) there is another  
problem.

Try adding the path from the interactive interpreter and trying the  
import.

Michael


--
http://www.ironpythoninaction.com

On 29 Jun 2009, at 17:05, Sarah Abdel Razak <sabdelrazak@...>  
wrote:

> Hi All,
>
>         I was using python and SPSS Python integration plug-in to  
> access SPSS application and execute spss syntax commands.
> I was wondering if that can be achieved using IronPython as well.
> I try to import the spss module and added the python25/lib/site-
> packages to the IronPython path. But I got an exception that the  
> module is not found.
> I would appreciate any advice.
> --
> Sarah Abdelrazak
>
> _______________________________________________
> Users mailing list
> Users@...
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
_______________________________________________
Users mailing list
Users@...
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

 « Return to Thread: Running SPSS application from IronPython