Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sphinx-build can not be recognized as internl or external command

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?

like image 756
Tarun Avatar asked Oct 27 '25 11:10

Tarun


1 Answers

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.

like image 195
Petr Viktorin Avatar answered Oct 30 '25 02:10

Petr Viktorin



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!