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

Jeremy Dyck
Jeremy Dyck
12,013 Points

Flask not working in Workspaces - "Flask Basics - First Steps" Not sure how to follow along with the video

I cannot import from Flask in the workspace for this lesson. Not sure how to do this.

3 Answers

Jeff Muday
MOD
Jeff Muday
Treehouse Moderator 28,720 Points

If you are in a Python workspace... you can try "pip install flask" to get the latest version of Flask installed in the workspace.

$ pip install flask
Jeff Muday
MOD
Jeff Muday
Treehouse Moderator 28,720 Points

Note, you can also install other packages from PyPI (within limits, that is).

https://pypi.org

Good luck with your Python journey!