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
Abhishek Gangadhar
9,467 PointsHow to Install Flask for an IDE??
hey guys,
I want to use flask on my IDE pycharm, How do I install flask??
Do I just install it directly from the command prompt??
1 Answer
Keith Whatling
17,759 PointsI love Pycharm.
Depending on your version of PyCharm, community or pro, you will have differing levels of support for Flask and Django.
That being said, PyCharm community can still be used for running and writing Flask, you just need to point your project at a version of python that has Flask installed. Be it your main python install or a venv (virtual environment).
Without sounding like a sales person for PyCharm, I paid £6 for the pro version per month, its a subscription and you get all future versions. It really helped me write Flask quicker and the help for Jinja2 in templating was great.
Here is a link that will take you from 0 to hello world to app in no time. (https://www.youtube.com/watch?v=zBUi3LkjNl0&list=PLQ176FUIyIUY5Ii58pzoZhS_3qIBL80nz&index=4)
The other great place to look for a REALLY easy time is cloud9. This is like treehouse workspaces but on steroids, its online all the time and is FREE! I like it because it is running in the real world and you can co-code on it. Its like multiplayer Halo but for doing work, if you need help then people can work with you.
If you want to run it on a REAL web server without setting anything and have online access to code like workspaces I would say give pythonanywhere a go.
1.Build the proof of concept in Pycharm 2.Put it on Cloud9 for further dev and testing. (purely as its online and REAL not in windows but running on server) 3.Go live on pythonanywhere, they have Amazon Web Service and you can have full access to your code online too.
Hope this helps you get off the ground, I have just been through getting my first Flask app up, I have tried Heroku, Digital Ocean. I know its more than you were looking for so my post is a little wrong but I thought best to give you what has taken me a week to figure out.