Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Python Flask Basics Welcome to Flask First Steps

I can't see my code.

I tried to run my first Flask code in the browser but this message appeared:

Workspace Unavailable This is a preview link for a Treehouse Workspace that is not currently active. If you are the workspace owner, you can launch it again via the Treehouse site.

What is happening?

3 Answers

Vittorio Somaschini
Vittorio Somaschini
33,371 Points

Hi Conor.

Have you started the server?

No but how can you turn on the server? There's nothing installed yet. My Console is empty. There's no (Flask==0.10.0) anywhere.

Vittorio Somaschini
Vittorio Somaschini
33,371 Points

In the console: at the bottom in the workspace, have you typed the following command?

python simple_app.py

That needs to be done before using the browser to visualize the page.

Let me know Vitto

yes!!! thx it works.