Unable to download-python using robotpy_installer

Hi all I am trying to update my robotpy and download python to the robot using

python -m robotpy_installer download-python

When I enter the code above I get a bunch of errors. Does anyone know how I could fix that?

Downloading https://www.tortall.net/~robotpy/feeds/2023/Packages
Traceback (most recent call last):
File “C:\Users\jdrev\AppData\Local\Programs\Python\Python311\Lib\urllib\request.py”, line 1348, in do_open
h.request(req.get_method(), req.selector, req.data, headers,
File “C:\Users\jdrev\AppData\Local\Programs\Python\Python311\Lib\http\client.py”, line 1283, in request
self._send_request(method, url, body, headers, encode_chunked)
File “C:\Users\jdrev\AppData\Local\Programs\Python\Python311\Lib\http\client.py”, line 1329, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File “C:\Users\jdrev\AppData\Local\Programs\Python\Python311\Lib\http\client.py”, line 1278, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File “C:\Users\jdrev\AppData\Local\Programs\Python\Python311\Lib\http\client.py”, line 1038, in _send_output
self.send(msg)
File “C:\Users\jdrev\AppData\Local\Programs\Python\Python311\Lib\http\client.py”, line 976, in send
self.connect()
File “C:\Users\jdrev\AppData\Local\Programs\Python\Python311\Lib\http\client.py”, line 1455, in connect
self.sock = self._context.wrap_socket(self.sock,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “C:\Users\jdrev\AppData\Local\Programs\Python\Python311\Lib\ssl.py”, line 517, in wrap_socket
return self.sslsocket_class._create(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “C:\Users\jdrev\AppData\Local\Programs\Python\Python311\Lib\ssl.py”, line 1075, in _create
self.do_handshake()
File “C:\Users\jdrev\AppData\Local\Programs\Python\Python311\Lib\ssl.py”, line 1346, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1002)

I think this is the one where you need to add --use_certifi: py -3 -m robotpy_installer download-python --use-certifi

unfortunately that didn’t fix it

Was able to fix the error by going to the tortall website

Are you at a school or work with a proxy?

I was at school so the website was blocked on wifi but when I connected to ethernet it allowed me so that fixed it.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.