Sphinx-build无法识别为内部或外部命令

Tar*_*run 3 python windows easy-install python-sphinx

在Python 2.5上,我安装了sphinx easy_install,它可以在Windows 7上的以下位置使用:

C:\Python25\Lib\site-packages\sphinx-1.0.8-py2.5.egg\sphinx
Run Code Online (Sandbox Code Playgroud)

我想将几个.rst文件转换为HTML.但每当我这样做时,我会sphinx-build遇到以下错误:

'sphinx-build' is not recognized as an internal or external command,
operable program or batch file.
Run Code Online (Sandbox Code Playgroud)

我错过了什么吗?

Pet*_*rin 6

sphinx-build命令应该安装在C:\Python25\Scripts.使用完整路径,C:\Python25\Scripts\sphinx-build调用命令或将该目录添加到PATH.