How do I install Flask using PyCharm

16,488

In pycharm, Go to: File-->Settings-->Project:project_name-->Project Interpreter.

Click on the + sign search for Flask. Choose it and click on Install package

Alternative approach: add requirements.txt to the root of your project. in it add the following line:

Flask==0.10.1

Note: keep an eye out for the version.

After you do that pycharm will prompt you to install the requirements, Just click on install requirements and if all is good you are good to go.

Share:
16,488
Admin
Author by

Admin

Updated on June 12, 2022

Comments

  • Admin
    Admin about 2 years

    How do I install Flask in PyCharm?