Jump to content

Flask/Install Flask

From Wikiversity

This lesson shows how to install Flask on your own system.

Readings

[edit | edit source]
  1. Wikipedia: Flask (web framework)
  2. PyPi.org: Flask

Multimedia

[edit | edit source]
  1. YouTube: How to Install and Use Flask on Windows for Beginners
  2. YouTube: Getting Started with Flask (using VS Code)

Activities

[edit | edit source]
  1. Install Python.
    • If necessary, install or update Python from Python.org.
    • Verify Python is installed by running the following command in a command prompt or terminal window:
          python --version
      Note: If you have both Python2 and Python3 installed, you may need to use the following command instead:
          python3 --version
  2. Install Flask.
    • Review Pypi.org: Flask. Install Flask by running the following command:
          pip install flask
      Note: If you have both Python2 and Python3 installed, you may need to use pip3 to install Flask:
          pip3 install flask
  3. Verify Flask is installed.
    • Verify Flask is installed using the following command:
          flask --version

References

[edit | edit source]