Message62145
| Author | bpb |
|---|---|
| Recipients | bpb |
| Date | 2008-02-07.12:24:04 |
| SpamBayes Score | 0.003665508 |
| Marked as misclassified | No |
| Message-id | <1202387094.14.0.198769715828.issue2029@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
To quickly open a PyDoc browser, I want to be able to run the following: python -m pydoc -g This works fine on Python2.4, but fails on 2.5(.1), with following traceback (tested on both WinXP and Solaris 8, same result): Traceback (most recent call last): File "c:\python25\lib\runpy.py", line 95, in run_module filename, loader, alter_sys) File "c:\python25\lib\runpy.py", line 52, in _run_module_code mod_name, mod_fname, mod_loader) File "c:\python25\lib\runpy.py", line 32, in _run_code exec code in run_globals File "c:\python25\lib\pydoc.py", line 2255, in <module> if __name__ == '__main__': cli() File "c:\python25\lib\pydoc.py", line 2191, in cli gui() File "c:\python25\lib\pydoc.py", line 2162, in gui gui = GUI(root) File "c:\python25\lib\pydoc.py", line 2052, in __init__ import threading ImportError: No module named threading When running pydoc.py -g directly (i.e. without the -m) it works fine, but this requires knowing the specific location of pydoc library file, so is less helpful. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2008-02-07 12:24:54 | bpb | set | spambayes_score: 0.00366551 -> 0.003665508 recipients: + bpb |
| 2008-02-07 12:24:54 | bpb | set | spambayes_score: 0.00366551 -> 0.00366551 messageid: <1202387094.14.0.198769715828.issue2029@psf.upfronthosting.co.za> |
| 2008-02-07 12:24:04 | bpb | link | issue2029 messages |
| 2008-02-07 12:24:04 | bpb | create | |