pydev调试器:在OS 10.8升级后找不到Python2.7的实际位置

2024-10-06 20:29:44 发布

您现在位置:Python中文网/ 问答频道 /正文

我刚刚升级到OSX10.8MountainLion,无法理解pydev调试器应该如何在Aptana3.0上工作。

在Aptana的首选项中,我设置了python解释器,其位置为“/usr/bin/python”。它声明系统libs来自“/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文件。

我的应用程序引擎项目仍在加载,但我真的不明白为什么。我必须配置Aptana3.0,在OSX10.7和10.8之间发生了什么变化,导致出现了这个严重警告?


Tags: topyforlibrarylocationframeworkfindversions