- You must have both Python 2.5 and Python 3 installed.
- When installing, wxPython for Python 2.5 (unicode), make sure you have Python 2.5 in the PATH instead of Python 3.
- When installing winpdb, make sure to have PATH set back to Python 3. Install winpdb into the directory of Python 3 (otherwise it won't work). (There may be an error message at the end of installation, just ignore it.)
- You must run winpdb with Python 2.5 but rpdb with Python 3
In Windows XP, the last step is done like this:
- Change PATH from C:\Python30 to C:\Python25
- Start new cmd window (otherwise it won't notice the changed PATH)
- Run (c:\Python30\Lib\site-packages>)python winpdb.py
- Change PATH back to C:\Python30
- Start another cmd window (to make it notice the new PATH)
- From the winpdb directory run python rpdb2.py -pwd=<somePassword> -d <filename> <command line arguments for your python script>
- in the GUI window of winpdb do File/Attach and write the password you selected for rpdb2.py in the command line
No comments:
Post a Comment