简体   繁体   English

在 windows 命令行中 Pydoc 未被识别为命令

[英]Pydoc is not recognized as a command in the windows command line

I am trying to check the documentation for Math module in the command line of windows.我正在尝试在 Windows 的命令行中检查 Math 模块的文档。 However, I am getting this error:但是,我收到此错误:

C:\Users\Farhan Hasant\Desktop\HelloWorld>pydoc math
'pydoc' is not recognized as an internal or external command,
operable program or batch file.

Add your favorite python to the PATH, or assume this is already done.将您最喜欢的 python 添加到 PATH,或者假设这已经完成。

Run

python -m pydoc math

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM