我正在尝试遵循有关如何将sphinx和Readthedocs设置为项目的教程。我曾经在实习期间使用过Ubuntu上的Sphinx,并且设置相当无缝。我刚刚在我的Anaconda Power Shell上启动了
sphinx-quickstart
。当我尝试运行make html
时,出现以下错误:(base) PS D:\code\RaspberryServer\docs> make html
make : The term 'make' is not recognized as the name of a cmdlet, function, script file, or operable program. Check
the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ make html
+ ~~~~
+ CategoryInfo : ObjectNotFound: (make:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Suggestion [3,General]: The command make was not found, but does exist in the current location. Windows PowerShell does not load commands from the current location by default. If you trust this command, instead type: ".\make". See "get-help about_Command_Precedence" for more details.
起初我以为是因为我从未安装过MinGW。但即使这样做后,我似乎仍无法解决问题,也不知道如何开始调查。我的Python安装完全基于Anaconda。
.\make.bat html
。 - Lex Li