On Python 2.5, I installed sphinx using easy_install
and it is available at the following location on Windows 7:
C:\Python25\Lib\site-packages\sphinx-1.0.8-py2.5.egg\sphinx
I wanted to convert a couple of .rst
files to HTML. But whenever I do sphinx-build
I encounter the following error:
'sphinx-build' is not recognized as an internal or external command,
operable program or batch file.
Am I missing something?
The sphinx-build
command should be installed in C:\\Python25\\Scripts
. Either use the full path, C:\\Python25\\Scripts\\sphinx-build
, to call the command, or add that directory to your PATH.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.