Issue
Does everytime I want to activate my Flask project, I have to run 'sudo pip install flask? What's the step by step when I have already my project created?
Solution
pip install flask
is just for installing the Flask package to your Python installation. Running it more than once, assuming you didn't delete the files, will not help you.
Running your project depends on how your code is laid out, but most tutorials end up with having you run python app.py
in the terminal to run the app. See the official tutorial for an example: Installation, and running the app.
Answered By - Celeo
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.