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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ideally, if you don't want to worry about it download a python version for Mac OS from python.org 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).
Cheers,
Fabio
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for your reply.
I downloaded the 2.7 version from python.org and it works now.
There is one more issue though:
When I write the following "program"
fromturtleimport*forward(100)mainloop()
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?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
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.
Ideally, if you don't want to worry about it download a python version for Mac OS from python.org 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).
Cheers,
Fabio
Thanks for your reply.
I downloaded the 2.7 version from python.org and it works now.
There is one more issue though:
When I write the following "program"
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?
Never mind, problem solved.
It works when I define a turtle instance first.