microsoft / Cognitive-SpeakerRecognition-Python

Python SDK for the Microsoft Speaker Recognition API, part of Cognitive Services
https://www.microsoft.com/cognitive-services/en-us/speaker-recognition-api
Other
109 stars 62 forks source link

No module named http.client #7

Closed nabil-k closed 7 years ago

nabil-k commented 7 years ago

I get an error saying No module named http.client Sorry not really experienced with python, where can I get the http.client module?

Full error after running the command "python CreateProfile.py (my subscription key)" Traceback (most recent call last): File "CreateProfile.py", line 33, in <module> import IdentificationServiceHttpClientHelper File "/Users/Nabil/Desktop/Cognitive-SpeakerRecognition-Python/Identification/IdentificationServiceHttpClientHelper.py", line 33, in <module> import http.client ImportError: No module named http.client

momohs commented 7 years ago

The module http.client was introduced in newer versions of python. Please make sure you are using python v3.4 or later.

charity1475 commented 4 years ago

I experienced the same thing but later i discovered that i created a script with a name http.py in my Folder which was confused with module in built script. I deleted it and things worked.

islamtg commented 3 years ago

I get the same issue and my Python Version is 3.8.2