[英]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].
我试图使用 pdoc 为我的 python package 生成文档,当我运行命令py -m pdoc --html [package name].
It outputs the error ...\Python\Python38\python.exe: No module named pdoc.__main__; 'pdoc' is a package and cannot be directly executed
它输出错误...\Python\Python38\python.exe: No module named pdoc.__main__; 'pdoc' is a package and cannot be directly executed
...\Python\Python38\python.exe: No module named pdoc.__main__; 'pdoc' is a package and cannot be directly executed
Why is this happening? ...\Python\Python38\python.exe: No module named pdoc.__main__; 'pdoc' is a package and cannot be directly executed
为什么会这样?
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这个问题已经随着 pdoc 1.0 的发布得到修复,这里是对应的 GitHub 问题: https://github.com/mitmproxy/pdoc/issues/196
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.