install flask on linux mint for python3

  1. Open a terminal window on your Linux Mint system.

  2. Use the following command to update the package list: sudo apt update

  3. Once the update is complete, install the python3-pip package using the following command: sudo apt install python3-pip

  4. After installing pip, use it to install Flask by running the command: pip3 install flask

  5. Verify that Flask is installed by checking the version with: flask --version