PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 22 Nov 2022 10:06 AM by  d.van.dusschoten@fz-juelich.de
Python Bridge numpy absent
 0 Replies
Sort:
You are not authorized to post a reply.
Author Messages

d.van.dusschoten@fz-juelich.de



New Member


Posts:
New Member


--
22 Nov 2022 10:06 AM
    I recently installed IDL 8.8.3 and decided to setup the bridge to Python. I added to the PATH variable and ran setup.py in the correct directory. Everything looks OK. In Python 3.7.6 I can run
    from idlpy import *
    When I run in IDL > np=Python.Import('Numpy') I get
    % PYTHON::LOAD: numpy is not installed for this python distribution and is required for the IDL-python bridge. numpy can be installed by running "c:\users\d.van.dusschoten\Anaconda3\python.exe -m pip install numpy".
    numpy is installed in ....Anaconda3\lib\site-packages so I also added this to PATH.
    Same error. I ran the command as suggested by IDL, but obviously that didn't work since numpy is already installed. So here I am stuck, again. I've never managed to get this bridge to work, but now I really need it...

    Hopefully someone can help me out here.
    Dagmar
    You are not authorized to post a reply.