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

Home » Public Forums » archive » New free DLL for calling Python from IDL!
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: New free DLL for calling Python from IDL! [message #89186 is a reply to message #87887] Thu, 31 July 2014 03:51 Go to previous messageGo to previous message
Matt[3] is currently offline  Matt[3]
Messages: 23
Registered: April 2011
Junior Member
Hi All,

This sounds like a great project! However, I seem to be running into trouble straight away... Apologies if I'm doing something stupid here:

I have Anaconda 2.0.1 installed on a 64bit Linux machine, using Python 2.7.8, numpy 1.8.1 and IDL 8.3. I've copied the 64 bit Linux Slither.so and Slither.dlm files into my bin.linux.x86_64 folder (which is what shows up when I do PRINT, EXPAND_PATH('<IDL_DEFAULT_DLM>')). However, when I try to run the first example in the documentation, I get:

IDL> random=pyimport("random")
ImportError: No module named numpy
% Dynamically loadable module failed to load: SLITHER.
% Execution halted at: $MAIN$

To check that IDL sees the same version of Python as the system does:
IDL> spawn, 'python -c "import platform; print platform.python_version()"'
2.7.8

And just to check that numpy can be imported:
IDL> spawn, 'python -c "import numpy; print numpy.zeros(2)"
[ 0. 0.]

Am I missing something obvious here?

Thanks in advance,

Matt
[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
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
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: superresolution
Next Topic: How to find the confidence interval of a variable data at 95% or 66%?

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

Current Time: Wed Oct 08 18:26:33 PDT 2025

Total time taken to generate the page: 0.00525 seconds