I'm inquiring about how to solve Python permission denied error

Asked 1 years ago, Updated 1 years ago, 94 views

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.

python3 nlp package voice-recognition

2022-09-21 17:55

1 Answers

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.


2022-09-21 17:55

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.