Hi All,
I am trying to bridge Python and IDL (Python 2.7.10 and IDL 82). I have the system environment variable as:
PATH->C:\Python27;C:\Anaconda;C:\Program Files\Exelis\IDL82\bin\bin.x86_64;%PATH%
PYTHONHOME -> C:\Anaconda
PYTHONPATH -> C:\Program Files\Exelis\IDL82\bin\bin.x86_64;C:\Program Files\Exelis\IDL82\lib\bridges
In IDL command line, I try to check by:
ran = Python.Import('numpy.random')
But shell display
% Object reference type required in this context: PYTHON
% Execution halted at: $MAIN$
And in Python IDLE Shell:
from idlpy import IDL
it gives import error.
ImportError: No module named idlpy
What am I missing here?
|