[issue7749] pydoc error

2010-01-21 Thread Gib Bogle

New submission from Gib Bogle :

>python -m pydoc sys

gives

No module named tempfile

--
messages: 98111
nosy: gib
severity: normal
status: open
title: pydoc error
type: behavior
versions: Python 2.5

___
Python tracker 
<http://bugs.python.org/issue7749>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7749] pydoc error

2010-01-21 Thread Gib Bogle

Gib Bogle  added the comment:

Hi Eric,

I'm using Python 2.5.4 on Windows XP.  I installed pythonxy, which installed 
2.5.4.  I also have PyQt4.4 installed.  I haven't touched anything in the lib 
directory, as far as I know.

A poster on comp.lang.python finds the command works on one machine, but not on 
another.  Look for the post entitled "pyexe and pydocs.Downloads?"

Cheers
Gib

Dr. Gib Bogle
Senior Research Fellow
Auckland Bioengineering Institute
University of Auckland
New Zealand

http://www.bioeng.auckland.ac.nz

g.bo...@auckland.ac.nz
(64-9) 373-7599 Ext. 87030

Éric Araujo wrote:
> Éric Araujo  added the comment:
> 
> Hello
> 
> I can’t reproduce your bug.
> 
> Please specify exact Python version, how you installed it, whether you did 
> something unusual with the lib directory, and any other useful information.
> 
> Kind regards
> 
> --
> nosy: +Merwok
> 
> ___
> Python tracker 
> <http://bugs.python.org/issue7749>
> ___

--

___
Python tracker 
<http://bugs.python.org/issue7749>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7749] pydoc error - "No module named tempfile"

2010-01-21 Thread Gib Bogle

Gib Bogle  added the comment:

R. David Murray wrote:
> R. David Murray  added the comment:
> 
> Under 2.5 this could be due to various weird issues with your python path and 
> the modules on it.  Try running python from a clean directory and specifying 
> the -E flag and see if the behavior changes, and/or try importing tempfile at 
> the python prompt and see if you get a more useful message.
> 
> Under 2.7 I think pydoc handles this better.  Note that even if you find a 
> bug in 2.5 it no longer receives bug fixes, so you'd also have to be able to 
> reproduce it in 2.6.
> 
> --
> nosy: +r.david.murray
> 
> ___
> Python tracker 
> <http://bugs.python.org/issue7749>
> ___

I previously had 2.6 installed, removed it for compatibility with something. 
Maybe I did something wrong.  It isn't a big issue for me, I just reported it 
because someone suggested I should.  I plan to upgrade to 2.6 soon anyway.

--

___
Python tracker 
<http://bugs.python.org/issue7749>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7749] pydoc error - "No module named tempfile"

2010-01-21 Thread Gib Bogle

Gib Bogle  added the comment:

Importing tempfile from within python does not produce an error.

--

___
Python tracker 
<http://bugs.python.org/issue7749>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com