Answers for "reinstall 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

Python Answers by Framework

Browse Popular Code Answers by Language