Search code examples
pythonubuntupydoc

Pydoc webserver does not work on ubuntu


I did pydoc -p 5555 and I get - : [Errno 2] No such file or directory: '-p' for one of my modules. Is this because of corrupt python installation or am I missing something?

I am running Python 2.6.6. Thanks.


Solution

  • Try this:

    $ python -m pydoc -p 5555
    

    If this does not work, it may be a corrupt Python Installation