[Python-Dev] Re: [Python-checkins] CVS: python/dist/src/Tools/scripts pydoc,NONE,1.1

Michael Hudson mwh21@cam.ac.uk
02 Mar 2001 14:32:01 +0000


"A.M. Kuchling" <akuchling@users.sourceforge.net> writes:

> --- NEW FILE: pydoc ---
> #!/usr/bin/env python
> 

Could I make a request that this gets munged to point to the python
that's being installed at build time?  I've just built from CVS,
installed in /usr/local, and:

$ pydoc -g
Traceback (most recent call last):
  File "/usr/local/bin/pydoc", line 3, in ?
    import pydoc
ImportError: No module named pydoc

because the /usr/bin/env python thing hits the older python in /usr
first.

Don't bother if this is actually difficult.

Cheers,
M.