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

Home » Public Forums » archive » IDL to python bridge Library not loaded: libidl.8.5.dylib
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
IDL to python bridge Library not loaded: libidl.8.5.dylib [message #93151] Tue, 03 May 2016 02:44 Go to previous message
joe.llama is currently offline  joe.llama
Messages: 3
Registered: April 2016
Junior Member
Can anyone help me with this? I'm trying to get the IDL-python bridge up and running on my Mac (10.11.4). I have idl 8.5 and python 2.7 from anaconda (installed yesterday).

I've exported the following paths
export PATH=" /Users/joellama/anaconda/bin:/Applications/exelis/idl/bin/bi n.darwin.x86_64:$PATH "
DYLD_LIBRARY_PATH="/System/Library/Frameworks/ImageIO.framework/Resources "
DYLD_LIBRARY_PATH="$DYLD_LIBRARY_PATH:/Users/joellama/anaconda/lib "
DYLD_LIBRARY_PATH="$DYLD_LIBRARY_PATH:/usr/lib"
DYLD_LIBRARY_PATH=" $DYLD_LIBRARY_PATH:/Applications/exelis/idl85/bin/bin.darwin .x86_64 "
export DYLD_LIBRARY_PATH
export LD_LIBRARY_PATH=" /Users/joellama/anaconda/lib:/Applications/exelis/idl/bin/bi n.darwin.x86_64 "
export PYTHONHOME="/Users/joellama/anaconda"
PYTHONPATH=" $PYTHONPATH:/Applications/exelis/idl85/bin/bin.darwin.x86_64 "
PYTHONPATH="$PYTHONPATH:/Applications/exelis/idl85/lib/bridges "
export PYTHONPATH


and if I run IDL and type

ran = Python.Import('numpy.random')

I get
% Loaded DLM: PYTHON27.
ImportError: numpy.core.multiarray failed to import
% PYTHON_IMPORT: Exception: cannot import name multiarray.
% Execution halted at: $MAIN$

and if I run ipython and type

import idlpy as IDL

I get

ImportError Traceback (most recent call last)
<ipython-input-1-2e8893d7bd77> in <module>()
----> 1 import idlpy as IDL

/Applications/exelis/idl85/lib/bridges/idlpy.py in <module>()
17 # Dynamically construct the library name from the Python major.minor version.
18 idllibrary = "pythonidl" + str(sys.version_info[0]) + str(sys.version_info[1])
---> 19 pyidl = __import__(idllibrary)
20
21

ImportError: dlopen(/Applications/exelis/idl85/bin/bin.darwin.x86_64/pyth onidl27.so, 2): Library not loaded: libidl.8.5.dylib
Referenced from: /Applications/exelis/idl85/bin/bin.darwin.x86_64/pythonidl27 .so
Reason: image not found

I checked and /Applications/exelis/idl85/bin/bin.darwin.x86_64/pythonidl27 .so and
/Applications/exelis/idl85/bin/bin.darwin.x86_64/libidl.8.5. dylib

both exist. Any help would be greatly appreciated!
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Creating an imcountour for a bpt
Next Topic: How to check for existence of an HDF5 group

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

Current Time: Wed Oct 08 13:39:49 PDT 2025

Total time taken to generate the page: 0.00441 seconds