Search code examples
pythonwindowsinstallationtext-to-speech

How do I install PySpeech for Python 3?


So far I've downloaded and installed distribute and pywin32, however I don't understand how to install PySpeech itself. The directions say to " browse to the folder that you extracted pyspeech-0.5.2.zip to and run the following in the command prompt: '/python32/python speech.py install' or 'python speech.py install'".

I extracted pyspeech to the desktop and tried both of the above commands in the command prompt. This did not work as I got the following error: "'python' is not recognized as an internal or external command, operable program or batch file." Obviously I'm missing something. Can someone please tell me what I'm doing wrong and how to remedy the situation?

I suspect the issue lies in the "browse to the folder that you extracted..." portion of the directions, as I don't know how that ties into the process. Moreover, forgive my naivete because I've never installed something via command prompt.


Solution

  • You need to add python to your PATH environment variable. See here for instructions, and then you will need to run python.exe setup.py install or whatever (note the .exe).