Closed JohannesMarkos closed 2 months ago
This chatgpt chat helped me "1. Download the Bundle:
A reliable source for certificate bundles is Mozilla's Certificate Authority list: https://curl.se/docs/caextract.html
Download the file named "cacert.pem" from this page.
Place the Bundle:
Choose a convenient location to store the downloaded cacert.pem file. Your user directory (e.g., C:\Users\
Set the Environment Variable:
We need to tell the program (likely pip) where to find the downloaded certificate bundle. This is done through an environment variable named CURL_CA_BUNDLE.
Here's how to set the variable depending on your operating system:
Windows:
Search for "Environment Variables" and open the "Edit the system environment variables" option.
Under "System variables," find the variable named CURL_CA_BUNDLE (if it doesn't exist, create a new one).
Set the value of the variable to the complete path of your downloaded cacert.pem file (e.g., C:\Users\<username>\cacert.pem).
Restart your terminal or command prompt for the changes to take effect."
Having a error while trying to install pip install python-twitter It says: "ERROR: Could not install packages due to an OSError: Could not find a suitable TLS CA certificate bundle, invalid path:"
"WARNING: There was an error checking the latest version of pip."
How can I solve this problem?