Answers for "flask setup"

4

flask install

# install flask (basic, if path is not set yet)
py -m pip install flask
# or set PATH to use pip:
setx PATH "%PATH%;C:\<path\to\python\directory\>\Scripts"
pip install flask
# if "connection error: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed" [!]:
py -m pip install --trusted-host pypi.python.org pip flask
# if PermissionError: [WinError 5] Access is denied
py -m pip install --user flask
# or via creating a virtual environment venv:
py -m venv c:\path\to\new\environment
# then execute:
c:\path\to\new\environment\Scripts\activate.bat
Posted by: Guest on March-17-2021
2

install flask

pip install flask
Posted by: Guest on May-21-2020
0

Install Flask

pip install flask
Or If The Problem is "pip" not Found Use : 
py -m pip install flask
Posted by: Guest on November-19-2020
5

install flask

pip install -U Flask
Posted by: Guest on April-13-2020
1

install flask in venv

$ pip install Flask
Posted by: Guest on August-19-2020
0

flask setup

from flask import Flask
app = Flask(__name__)

@app.route("/")
def hello():
  return "Hello World!"

if __name__ == "__main__":
  app.run()
Posted by: Guest on August-15-2021

Python Answers by Framework

Browse Popular Code Answers by Language