Python issues with Mac osx mountain lion

Oh boy… Just finally got eclipse installed on my Mac OS to help with python programming. I kept on getting ….

pydev debugger: Unable to find real location for: /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py
pydev debugger: Unable to find real location for: /Applications/Aptana Studio 3/plugins/org.python.pydev.debug_2.2.2.2011100512/pysrc/pydevd.py

when defining where the python interpreter was located on my computer.

Things that I tried to get this work.

1. Manually locating the traceback.py, that didn’t work because because the only file that was found was from the install of eclipse. It needs the traceback.py from the python interpreter.

2. Installed the Xcode 4.x from the Mac developers. That 3.4gig install didn’t change anything. Just took up space on my computer. After I tried to find the stdlib… It still wasn’t there.

3. Finally, what worked was downloading the Mac developer tool called “Command Line Tools” from Apple.
Try this link:

https://developer.apple.com/downloads/index.action?=command%20line%20tools

This actually worked… Once I added the interpreter again…. It gave now errors… Hazza!

About Daniel Fredrick

Technology enthusiast, Programmer, Network Engineer CCIE# 17094

View all posts by Daniel Fredrick →

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.