1# install cherrypy (basic, if path is not set yet)
2py -m pip install cherrypy
3# or set PATH to use pip:
4setx PATH "%PATH%;C:\<path\to\python\directory\>\Scripts"
5pip install cherrypy
6# or
7pip3 install cherrypy --upgrade
8# if "connection error: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed" [!]:
9py -m pip install --trusted-host pypi.python.org pip cherrypy
10# if PermissionError: [WinError 5] Access is denied
11py -m pip install --user cherrypy
12# or via creating a virtual environment venv:
13py -m venv c:\path\to\new\environment
14# then execute:
15c:\path\to\new\environment\Scripts\activate.bat