Answers for "how to install and activate flask"

5

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:<pathtopythondirectory>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:pathtonewenvironment
# then execute:
c:pathtonewenvironmentScriptsactivate.bat
Posted by: Guest on March-17-2021
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

Python Answers by Framework

Browse Popular Code Answers by Language