I am trying to get a repository from github to work on my Windows 10 machine. This repository requires a large number of packages. The IDE I use is Pycharm. Within pycharm, one is automatically prompted to install any packages via pip. However, when I press "install packages" or try to install any package individually via pip, the following error appears:
Could not fetch URL https://pypi.org/simple/numpy/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/numpy/ (Caused by SSLError(SSLError(1, '_ssl.c:503: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version'),)) - skipping
When trying to find a solution, I came across this solution. I succesfully opened the venv in PowerShell. The solution then proposes to use the following line:
https://bootstrap.pypa.io/get-pip.py | python
This, however, gives me another error as follows:
curl : The request was aborted: Could not create SSL/TLS secure channel. At line:1 char:1 + curl https://bootstrap.pypa.io/get-pip.py | python + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebExc eption + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand
I can not find any further solutions that can help me with this. If someone can help with a next step, that would be greatly appreciated. Thanks in advance.
Update I reinstalled python and everything fixed itself. I guess something broke when installing it the first time.