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 #94698 is a reply to message #94147] Mon, 28 August 2017 06:10 Go to previous message
cwamsley is currently offline  cwamsley
Messages: 1
Registered: August 2017
Junior Member
On Thursday, February 2, 2017 at 4:14:30 PM UTC-5, joe....@lowell.edu wrote:
> Can anyone help me out with getting the idl-python bridge to work? I have followed the instructions in a post above and I can call python from IDL but I can't call idl from within python .
>
> In Anaconda Python 2.7 if I get:
>
> In [1]: from idlpy import *
> Fatal Python error: PyThreadState_Get: no current thread
> Abort trap: 6
>
> I'm running idl 8.5.1 on OS X 10.12 with Anaconda Python 2.7.
>
> Thanks!

I received the same error working on Win 7, Anaconda 2 and Python 2.7. IDL was also crashing when I tried to start the IDL/Python bridge. Both problems were corrected by removing unnecessary spaces I had in the PYTHONPATH environment variable (e.g. bad: C:\Anaconda2; C:\Anaconda2\Tools\Scripts | good C:\Anaconda2;C:\Anaconda2\Tools\Scripts). Also make sure to run the python setup.py install command from the IDL bridges directory as indicated in the Harris help information.

Chuck
[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 13:56:27 PDT 2025

Total time taken to generate the page: 0.00294 seconds