Skip to content
Advertisement

Pdoc: doesn’t generate documentation

I was trying to generate documentation for my python package using pdoc, and it didn’t generate any documentation when I ran the command py -m pdoc --html [package name].It outputs the error ...PythonPython38python.exe: No module named pdoc.__main__; 'pdoc' is a package and cannot be directly executed Why is this happening?

Advertisement

Answer

This problem has been fixed with the release of pdoc 1.0, here is the corresponding GitHub issue: https://github.com/mitmproxy/pdoc/issues/196

Advertisement