Menu

stdlib on OSX

Tim-Erwin
2011-04-12
2013-03-15
  • Tim-Erwin

    Tim-Erwin - 2011-04-12

    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

     
  • Fabio Zadrozny

    Fabio Zadrozny - 2011-04-12

    Are you sure you have the .py files there (not only the .pycs)?

    PyDev really needs the .py files from the /Lib.

    Cheers,

    Fabio

     
  • Tim-Erwin

    Tim-Erwin - 2011-04-12

    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.

     
  • Fabio Zadrozny

    Fabio Zadrozny - 2011-04-12

    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

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.