Python Flask Basics Welcome to Flask First Steps

Ngqabutho Moyo
Ngqabutho Moyo
2,538 Points

'app.run(debug=True)' works in the Workspace, but not in my Jupyter Notebook

I cannot run an app in debug mode on my Notebook; it keeps exiting with the error 'An exception has occurred, use %tb to see the full traceback'. But with debug mode off, the app works just fine

Megan Amendola
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Megan Amendola
Treehouse Teacher

Hi! I would suggest using something like Visual Studio Code or Pycharm for web development with Python. Jupyter Notebook is best used with data and Python libraries like Numpy, Pandas, Matplotlib, etc.