I am trying to install some Python packages using pip.
pip install transformers torch flask nltk flask_cors pyttsx3 vosk SpeechRecognition
Every time I try to install the packages, I get an OSError.
ERROR: Could not install packages due to an OSError: [WinError 2] The system cannot find the file specified: 'C:\\Python312\\Scripts\\normalizer.exe' -> 'C:\\Python312\\Scripts\\normalizer.exe.deleteme'
I am trying to install some Python packages using pip.
pip install transformers torch flask nltk flask_cors pyttsx3 vosk SpeechRecognition
Every time I try to install the packages, I get an OSError.
ERROR: Could not install packages due to an OSError: [WinError 2] The system cannot find the file specified: 'C:\\Python312\\Scripts\\normalizer.exe' -> 'C:\\Python312\\Scripts\\normalizer.exe.deleteme'
Share
Improve this question
edited Feb 5 at 19:22
Ifeanyi Idiaye
1,1107 silver badges24 bronze badges
asked Feb 5 at 13:38
mdotmdot
356 bronze badges
1
|
1 Answer
Reset to default 1I have experienced the same problem, and this worked for me:
- Right-click on your terminal
- Select "Run as Administrator"
- Run
pip install <your-python-packages>
This should install all the packages using pip
. Another thing you could do is to update pip
by running:
python -m pip install --upgrade pip
--user
:pip install --user transformers torch flask nltk flask_cors pyttsx3 vosk SpeechRecognition
– phd Commented Feb 5 at 14:35