-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Description
Steps to reproduce
- Install Python 3.12
- Install
speech_recognitionandpyaudiowith pip (pip install SpeechRecognitionandpip install pyaudio) - Create a Python script with this code:
import speech_recognition as sr
mic = sr.Microphone()
print('hello')- Launch the script.
Expected behaviour
hello printed in the console
Actual behaviour
Because distutils was removed in Python 3.12, we get ModuleNotFoundError: module named 'distutils'
System information
My Python version is 3.12.
stefnestor, Elfsong, ArmanKhanTech, AshishKumawat8209, marco-gallegos and 7 moreAshishKumawat8209 and xitrumcute
Metadata
Metadata
Assignees
Labels
No labels