Please ask for help if you know how to solve the permission error. We are a study group for NLP beginners.
I'm trying to use the SpeechRecognition 3.6.3 package (https://pypi.python.org/pypi/SpeechRecognition/), but I keep getting a permission denied error.
The example code tested is microphone recognition code (https://github.com/…/mas…/examples/microphone_recognition.py)
I've tried it while searching for stack overflows, but I've been struggling for weeks because I'm a beginner.
It was installed after writing Python version 3.6 and changing it to 3.5 due to PocketSpinx compatibility. The development environment is Windows Python 3.5. (FYI, the same example code worked fine on MacBook) I'm attaching a screenshot.
I think even a simple piece of advice will help. Thank you.
If permission denied
appears in the window, wouldn't pycharm not be able to access the file? When you run pycharm, right-click and press 'Run as Administrator'.
See also how to run as an administrator for each OS.
© 2024 OneMinuteCode. All rights reserved.