Mac OS X - Interpreter

  • vdrummer

    vdrummer - 2012-02-02


    first of all, I'm completely new to Python.
    On the PyDev website, it says: "IMPORTANT for Mac users:  If you don't want to use a different interpreter, get the source files for the Python '/Lib' folder and add those to the system installation."

    Which folders are meant by "/Lib" and "system installation"?
    Is "/Lib" the "/Library/Frameworks/python.framework/version/2.x/lib" folder? If so, where should I copy it to?

    Thanks in advance.

  • Fabio Zadrozny

    Fabio Zadrozny - 2012-02-02

    Ideally, if you don't want to worry about it download a python version for Mac OS from and use that one instead of the default one installed in the system (because the one installed in Mac OS has only .pyc files and not the actual .py files).



  • vdrummer

    vdrummer - 2012-02-06

    Thanks for your reply.
    I downloaded the 2.7 version from and it works now.

    There is one more issue though:

    When I write the following "program"

    from turtle import *

    Eclipse shows an "undefined variable error" for the forward(100), but finds the mainloop() and even suggests it with auto-complete.
    The program itself behaves as expected, but Eclipse doesn't seem to recognize the forward function, although both belong to turtle.

    Is there any workaround, so that Eclipse will recognize all functions?

  • vdrummer

    vdrummer - 2012-02-06

    Never mind, problem solved.
    It works when I define a turtle instance first.