Speech recognition, text to speech, jokes app

I m facing problem in speech recognition and text to speech same type problem while importing in python3 interpretor it says invalid syntax. I can’t run import speech_recognition as sr in my python interpretor and import pyttsx3 .
And in jokes app I m attaching image of error

Can you please share the screenshots of each error elaborating more on it? The screenshot shared here only shows a part of the error, some of which isn’t visible.

Share the following screenshots:

  1. complete error screenshot when you import the speech_recognition module

1.Speech recognition pic of error

These are the errors which I’m facing please resolve as soon as possible I need to complete this for my university