X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 25 May 2016 08:20 PM by  anon
Getting Python Bridge to Work: "No module named site" Error
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:1
New Member


--
25 May 2016 08:20 PM
    I have not previously used python. I have managed to install it, but in no version am I able to get the bridge to work. For starters, does the bridge only work with 2.7 or will it also work with 3.4 or later? Also, must I use anaconda? I was at one point in the day able to get to the point where the DLM was loaded, but I got an error that crashed out of IDL. Now I think I am facing % PYTHON::RUN: PYTHON::LOAD: Unable to find a valid Python installation. >>> though I have set all the environment variables following the IDL help pages. Any help greatly appreciated. As an update, on my Mac Pro I now have some luck with the installation being found, but get this error: IDL> >>> >>> 2+2 % Loaded DLM: PYTHON27. ImportError: No module named site Sargon/~=>

    Deleted User



    Basic Member


    Posts:143
    Basic Member


    --
    13 Jun 2016 02:46 PM
    I have been able to get IDL Python bridge to work on Mac with both Python 2.7 and 3.4. Did you setup the environment as described in the article below? http://www.harrisgeospati...n-Bridge-on-Mac.aspx
    You are not authorized to post a reply.