Reputation: 833
I want to do speech recognition using Dragonfly with Windows Speech Recognition on windows 10 but the issue is it always displays the errors.I am stuck to in since days. This is all I have been trying to do:
Then I downloaded dragonfly 0.6.5 from 2 links so that either works because first one didnt work but unfortunately it didn't too.As I try running its setup.py file through command line, it says:
error: could not create 'dragonfly.egg-info': Access is denied
As I try running its dfly loader file on IDLE 3.5 (since I have that installed, hope that's not an issue), it says:
invalid syntax on this first line;
**except Exception, e**:
self._log.error("%s: Error loading module: %s" % (self, e))
self._loaded = False
return
while in other programs, it says no module named 'win32gui'. I also tried working on different Python versions but no progress.
Upvotes: 1
Views: 377
Reputation: 28
try using lib2to3 to convert the dragonfly source codes, this will solve the latter problem, i.e. except Exception, e. Python3 code should render as except Exception as e
Upvotes: 1