I installed Pydev on OSX 10.6 which worked fine so far. However, I have trouble adding the interpreter. No matter which path I choose (even drilling down into the .app folder "/System/Library/Frameworks/Python.framework/Versions/2.6/Resources/Python.app/Contents/MacOS/Python"). Pydev finds the "…/lib/python2.6" folder and others, however, it complains that
Python stdlib not found
it seems that the Python /Lib folder (which contains the standard library) was not found/selected during the install process.
...
If I open a Python shell in a terminal, everything works as expected, the standard library is present.
Which path do I need to select or what other way is there to make this work?
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
As if you didn't already write that in the error message. I was so sure I checked on that, sorry for bothering you with that. Anyways, I downloaded the Python source release and simply dropped the /Lib folder into the /System/…./Frameworks/…/lib/python2.6/ and it works. Is that the correct way? Seems weird but I'd rather not overwrite the whole python installation.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
That's a solution (although usually what I do on Mac OS is getting a python install from python.org instead of using the default one - not sure what you may break in Mac OS if something bad happens there while developing).
Cheers,
Fabio
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I installed Pydev on OSX 10.6 which worked fine so far. However, I have trouble adding the interpreter. No matter which path I choose (even drilling down into the .app folder "/System/Library/Frameworks/Python.framework/Versions/2.6/Resources/Python.app/Contents/MacOS/Python"). Pydev finds the "…/lib/python2.6" folder and others, however, it complains that
If I open a Python shell in a terminal, everything works as expected, the standard library is present.
Which path do I need to select or what other way is there to make this work?
Thanks
Are you sure you have the .py files there (not only the .pycs)?
PyDev really needs the .py files from the /Lib.
Cheers,
Fabio
As if you didn't already write that in the error message. I was so sure I checked on that, sorry for bothering you with that. Anyways, I downloaded the Python source release and simply dropped the /Lib folder into the /System/…./Frameworks/…/lib/python2.6/ and it works. Is that the correct way? Seems weird but I'd rather not overwrite the whole python installation.
That's a solution (although usually what I do on Mac OS is getting a python install from python.org instead of using the default one - not sure what you may break in Mac OS if something bad happens there while developing).
Cheers,
Fabio