apidoc is not an internal or external command, nor is it an executable program

After installing apidoc, use apidoc -h to check whether the installation is successful, and the result always prompts that'apidoc' is not an internal or external command, nor is it an executable program or batch file.

installation failed

Enter the folder in the red box and you can see that apidoc has been installed successfully
Successful installation

Apidoc can be executed in the current file
If the problem is determined, it is good to configure the environment variables. Configure the environment variables
under the path.
Configure environment variables
It can also be executed in other
Insert picture description here
places. Enter the project root directory, create an apidoc.json file and execute the operation of generating the document
Insert picture description here
carry out

Guess you like

Origin blog.csdn.net/weixin_45352783/article/details/106808880