ada*_*dam 10 python aptana python-2.7 osx-mountain-lion
我刚刚升级到OS X 10.8 Mountain Lion,并且很难理解pydev调试器应该如何在Aptana 3.0上运行.
在Aptana的首选项中,我的python解释器设置位置为"/ usr/bin/python".它声明系统库来自"/System/Library/Frameworks/Python.framework/Versions/2.7/..."
当我在Aptana中启动我的Google App Engine项目的调试器时,控制台会记录:
pydev debugger: CRITICAL WARNING: This version of python seems to be incorrectly compiled (internal generated filenames are not absolute)
pydev debugger: The debugger may still function, but it will work slower and may miss breakpoints.
它还指出:
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
pydev debugger: Unable to find real location for: /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/posixpath.py
...
它列出了"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/"文件夹中的所有.py文件.
我的app引擎项目仍在加载,但我真的不明白为什么.我有什么配置Aptana 3.0,以及我的OSX 10.7和10.8之间发生了什么变化,这使得这个严重的警告出现了?
Jul*_*ius 12
我有一个非常相似的问题.事实证明,升级到Mountain Lion后,所有Python源文件都消失了.
解决方案是安装Apple的"命令行工具".试试这个链接:
https://developer.apple.com/downloads/index.action?=command%20line%20tools
或者访问https://developer.apple.com/opensource/并找到"命令行工具"