Search code examples
pythondjangoinstallationpipspeech-recognition

I have an error when installing the SpeechRecognition


pip install SpeechRecognition

I try to install SpeechRecognition with the command above but i get this message:

from http import cookies

ImportError: cannot import name 'cookies' from partially initialized module 'http' (most likely due to a circular import) (C:\Users\52644\venv\Lib\site-packages\django\http\__init__.py)

Can someone help me with this please.


Solution

  • I already solved it, in the directory variables I had one that I created that was named PYTHONPATH, you don´t have to do that because python does that automatically, so you would have literally kind of a copy of all the files, that was producing the error. So, i just deleted that variable and it worked. Thanks fo the ones that answered.