I installed the speech recognition and the pyttsx3 libraries
pip install SpeechRecognition
pip install pyttsx3
but when i try to import them it gives two errors
Import "speech_recognition" could not be resolved
Import "pyttsx3" could not be resolved
heres my code
import speech_recognition as sr
import pyttsx3
audio = sr.Recognizer()