pronouns | he/him |
pronouns | he/him |
let's play TUG OF WAR ‼️
Led By Donkeys: tank v Tesla.
You don't really need to watch this to know how it works out but it is remarkably fun to see a 98yo WW2 veteran drive a tank over a Tesla - "we crushed fascism once and we'll do it again!"
I had a need to install Python in a Windows environment which uses a specific proxy and certificate. Instead of doing the entire "ignore certificate errors" thing, I worked with the system. For my example, I'm using Python 3.11 but whatever.
Create/copy a version of your main CA file or custom certificate file as ca-certificate.crt file
Install Python3.11
Post-install configuration
Open new terminal window
Edit the system environment variables
Click Environment Variables at the bottom of the Advanced tab
Edit the User variables section Path variable
Add the two following lines (update as necessary for username and python version)
C:\Program Files\Python3.11
C:\Users\USERNAME\AppData\Roaming\Python\Python311\Scripts
Run from terminal "$env:PIP_CERT=ca-certificate.crt"
Run from terminal "$env:REQUESTS_CA_BUNDLE=ca-certificate.crt"
Run from terminal "python -m pip install pip"
Run from terminal "pip install pip-system-certs"
Verification steps
Open new terminal window
Run from terminal "pip install --upgrade pip"