Tarun
Tarun

Reputation: 3496

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?

Upvotes: 4

Views: 8662

Answers (1)

ᅠᅠᅠ
ᅠᅠᅠ

Reputation: 66980

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.

Upvotes: 7

Related Questions