Im having a number of issues importing and accessing the speech_recognition module (pypi.python.org/pypi/SpeechRecognition/) in touch.
I have an external script using py 3.3(.5) that runs and operates perfectly from desktop or through command line. Whenever I attempt to import the script and modules into touch it all goes wrong. Touch can see and access the main speech_recognition module but starts failing when loading its dependants (eg pyAudio & _portAudio). I know they are both installed and working correctly. It doesn’t matter if I manually add the paths to preferences, adjusts them through sys.path (i also have the add external path option selected) - touch always responds in errors. Here are my code and error.
[url]http://imgur.com/Kmn9Fq6[/url]
[url]http://imgur.com/ASEnTno[/url]
Secondly ( ) In an attempt to get around these issues I have started using a chopexec to activate a bat file to load my external scripts. However, in what I presume is an issue coming from python 3.3.6 being active via touch already - no matter what I specify in the dat (eg run this script using pything 3.3.5) it always fails reporting that the modules (speech_recognition) does not exist.
If i run the bat from desktop, like above, everything will run perfectly.
Where am I going wrong? I presume it is some mistake with my internal python handling with touch.