pip install Flask==1.1.4 pip install markupsafe==2.0.1
pip install itsdangerous==2.0.1 #This will solve the error