Red Hat Bugzilla – Bug 128030
python help command can't find the python documentation
Last modified: 2007-11-30 17:10:46 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040622
Description of problem:
I tried to look up the documentation for "print" with the
help("print") command, but I got an error about documentation not
being found, despite the fact that I'd install the python-docs RPM.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Start python
2. Type help("print")
Actual Results: Sorry, topic and keyword documentation is not
available because the Python
HTML documentation files could not be found. If you have installed them,
please set the environment variable PYTHONDOCS to indicate their location.
Expected Results: Should have displayed docs
Obviously I can set PYTHONDOCS - but I think that either the python
RPM should be compiled such that it knows the correct place to find
the docs on a fedora system, OR the python-docs package should set the
PYTHONDOCS environment variable in /etc/profile.d. I favour the former
Agreed on the former, I'll see what I can do.
*** Bug 136091 has been marked as a duplicate of this bug. ***