search for: importpythonmodul

Displaying 3 results from an estimated 3 matches for "importpythonmodul".

Did you mean: importpythonmodule
2009 Feb 11
1
RSPython
Hi all, I try to utilize RSPython to invoke Python from R. For me it works pretty fine for basic applications, but I have 3 problems that may be related. (1) I can't load other packages but "standard" ones also when I adjust the PythonPath: > importPythonModule('sys', all=T) NULL > importPythonModule('numpy', all=T) Error in .PythonEval(cmd) : Error in Python call: /usr/lib/python2.5/site-packages/numpy/core/multiarray.so: undefined symbol: _Py_ZeroStruct > importPythonModule('Scientific.Func...
2004 Jun 08
1
Nested shared library calls in Linux
Hi, I have an interface from R to the wxPython GUI toolkit which works under Windows: http://bioinf.wehi.edu.au/folders/james/wxPython/ (as long as you build RSPython with a shared (not static) Python library). But on Linux I get an error: > library(RSPython) > importPythonModule("wx") Error in .PythonEval(cmd) : Error in Python call: /export/share/disk501/lab0605/wettenhall/usr/local/lib/ python2.2/site-packages/wx/_core.so: undefined symbol: PyExc_IOError I am working within my home area at the moment: ~ = /home/users/lab0605/wettenhall/ = /export/share/dis...
2008 Aug 01
0
Problem with RSPython
...am trying to get RSPython to work for me to solve a specific problem with geocoding addresses using the geopy library for Python (which appears to be an easy way to geocode large numbers of addresses). While I can load up the RSPython library just fine, when I try to load the geopy module using the importPythonModule('geopy') command, I get an error that "Error in Python call: can't decompress data; zlib not available" Then when I try to load zlib using the same command, I get the error "Error in Python call: /usr/lib/python2.5/lib-dynload/zlib.so: undefined symbol: PyExc_ValueError...