<div><a name="msg_d2c53c5c15e0dd32"></a><font class="fixed_width" face="Courier, Monospaced">Hi, <br> I am a newbie to python and pypy. I choose to read pypy source code <br>to learn about python and python library. But when I try to run pypy
<br>in debug mode in pydev, I got the following problem: </font></div>
<div><font class="fixed_width" face="Courier, Monospaced"><br>/// error message begin <br>pydev debugger <br>Traceback (most recent call last): <br> File "F:\TOOLS\eclipse\plugins\org.python.pydev.debug_1.3.4\pysrc
<br>\pydevd.py", line 754, in <module> <br> debugger.run(setup['file'], None, None) <br> File "F:\TOOLS\eclipse\plugins\org.python.pydev.debug_1.3.4\pysrc <br>\pydevd.py", line 597, in run
<br> execfile(file, globals, locals) #execute the script <br> File "E:\Java\pySamples\pypy\bin\py.py", line 14, in <module> <br> from pypy.tool import option <br> File "E:\Java\pySamples\pypy\tool\option.py", line 4, in <module>
<br> from pypy.config.pypyoption import get_pypy_config <br> File "E:\Java\pySamples\pypy\config\pypyoption.py", line 2, in <br><module> <br> import py, os <br> File "E:\Java\pySamples\pypy\bin\py.py", line 14, in <module>
<br> from pypy.tool import option <br> ImportError: cannot import name option <br> Exception in thread pydevd.Writer (most likely raised during <br>interpreter shutdown): <br> Traceback (most recent call last): <br>
File "C:\Python25\lib\threading.py", line 460, in __bootstrap <br> File "F:\TOOLS\eclipse\plugins\org.python.pydev.debug_1.3.4\pysrc <br>\pydevd_comm.py", line 258, in run <br>/// error message end
</font></div>
<p><font class="fixed_width" face="Courier, Monospaced"> I try to figure out why this exception or error come out. I found <br>that py.py import option.py, and option.py import pypyoption.py, and <br>pypyoption.py import
py.py again. Is this the problem of pypy(I don't <br>think so), or the problem of pydev debugger, or something else? why? <br> Any comments or assistance that can light up the way are much <br>appreciated.Thanks. <br>
</font></p>
<p> Wang Chunming <br></p>