python pyramid install code example

Example 1: install pyramid

pip install pyramid

Example 2: python pyramid install

# install pyramid (basic, if path is not set yet)
py -m pip install pyramid
# or set PATH to use pip:
setx PATH "%PATH%;C:\<path\to\python\directory\>\Scripts"
pip install pyramid
# or
pip3 install pyramid --upgrade
# if "connection error: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed" [!]:
py -m pip install --trusted-host pypi.python.org pip pyramid
# if PermissionError: [WinError 5] Access is denied
py -m pip install --user pyramid
# 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