comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » IDL Python Bridge
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: IDL Python Bridge [message #93337 is a reply to message #92673] Thu, 16 June 2016 12:48 Go to previous messageGo to previous message
guygma is currently offline  guygma
Messages: 3
Registered: June 2016
Junior Member
Similar issues here on OSX10.11. Segfault upon import of "sys" module while in a 2.7.11 virtualenv (using pyenv installed from homebrew). Import with either 3.4.4 or 3.5.1 version of python give a different error which makes me think that the bridge is doing something more convoluted with the path than Exelis is letting on...

From the python side, importing idlpy fails with an ImportError:

Python 3.4.4 (default, Jun 16 2016, 15:18:26)
[GCC 4.2.1 Compatible Apple LLVM 7.3.0 (clang-703.0.31)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import idlpy
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Applications/exelis/idl/lib/bridges/idlpy.py", line 27, in <module>
raise(e)
File "/Applications/exelis/idl/lib/bridges/idlpy.py", line 21, in <module>
pyidl = importlib.import_module(idllibrary)
File " /usr/local/var/pyenv/versions/3.4.4/Python.framework/Version s/3.4/lib/python3.4/importlib/__init__.py ", line 109, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ImportError: dlopen(/Applications/exelis/idl/bin/bin.darwin.x86_64/python idl34.so, 2): Library not loaded: libidl_ips.8.5.dylib
Referenced from: /Applications/exelis/idl/bin/bin.darwin.x86_64/pythonidl34.s o
Reason: image not found
>>> import sys
>>> sys.path
['', '/Users/Guy/tmp', '/Applications/exelis/idl/bin/bin.darwin.x86_64', '/Applications/exelis/idl/lib/bridges', '/usr/local/var/pyenv/versions/3.4.4/Python.framework/Versio ns/3.4/lib/python34.zip', '/usr/local/var/pyenv/versions/3.4.4/Python.framework/Versio ns/3.4/lib/python3.4', '/usr/local/var/pyenv/versions/3.4.4/Python.framework/Versio ns/3.4/lib/python3.4/plat-darwin', '/usr/local/var/pyenv/versions/3.4.4/lib/python3.4/lib-dynlo ad', '/usr/local/var/pyenv/versions/3.4.4/Python.framework/Versio ns/3.4/lib/python3.4/site-packages', '/usr/local/var/pyenv/versions/3.4.4/lib/python3.4/site-pack ages']
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: MPFITFUN multiple variable
Next Topic: HDF_SD_ADDDATA error attempting to copy variable from one HDF file to another

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 11:42:34 PDT 2025

Total time taken to generate the page: 0.00457 seconds