Help Setting Up IDL Python Bridge Linux [message #93549] |
Wed, 17 August 2016 13:57  |
jacobdparker
Messages: 3 Registered: August 2016
|
Junior Member |
|
|
I am having trouble getting IDL to be able to see Python. So far I have the following .cshrc setup
setenv PYTHONPATH /usr/local/exelis/idl/bin/bin.linux.x86_64:/usr/local/exelis /idl/lib/bridges
setenv LD_LIBRARY_PATH /usr/local/anaconda3/lib:/usr/local/exelis/idl/bin/bin.linux .x86_64
source /usr/local/exelis/idl/bin/idl_setup
When I installed anaconda it already added itself to my path so I don't believe I need to do it again. This is what I am seeing in the terminal.
jake@george ~ $ tcsh
george:~> python
Python 3.5.2 |Anaconda 4.1.1 (64-bit)| (default, Jul 2 2016, 17:53:06)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.version
'3.5.2 |Anaconda 4.1.1 (64-bit)| (default, Jul 2 2016, 17:53:06) \n[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)]'
>>>
george:~> echo $path
/usr/local/anaconda3/bin /usr/local/sbin /usr/local/bin /usr/sbin /usr/bin /sbin /bin /usr/games /usr/local/games /usr/local/ssw/site/bin /usr/local/ssw/gen/bin /usr/local/ssw/gen/perl
george:~> echo $PYTHONPATH
/usr/local/exelis/idl/bin/bin.linux.x86_64:/usr/local/exelis /idl/lib/bridges
george:~> echo $LD_LIBRARY_PATH
/usr/local/anaconda3/lib:/usr/local/exelis/idl/bin/bin.linux .x86_64
george:~> idl
IDL Version 8.5.1 (linux x86_64 m64). (c) 2015, Exelis Visual Information Solutions, Inc., a subsidiary of Harris Corporation.
Installation number: 16236.
Licensed for use by: Montana State University - Solar Physics
IDL> >>>
>>> import sys
% PYTHON::RUN: PYTHON::LOAD: Unable to find a valid Python installation.
I am sure that I am missing something very simple and admit to being pretty new at this stuff. Hopefully getting it up here will help the next newb out along the way.
Thanks in advance,
Jake
|
|
|