Salve a tutti.
Chiedo perdono per l'enormità del traceback.
Qualcuno ha idea del perché non riesca ad installare pygame via pip?
Ottengo questo:
E:\Dropbox\py>pip install pygame
Collecting pygame
Using cached pygame-2.1.2.tar.gz (10.1 MB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [103 lines of output]
WARNING, No "Setup" File Exists, Running "buildconfig/config.py"
Using WINDOWS configuration...
Traceback (most recent call last):
File
"C:\Users\GBattaglia\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\GBattaglia\AppData\Local\Programs\Python\Python311\Lib\http\client.py",
line 1282, in request
self._send_request(method, url, body, headers, encode_chunked)
File
"C:\Users\GBattaglia\AppData\Local\Programs\Python\Python311\Lib\http\client.py",
line 1328, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File
"C:\Users\GBattaglia\AppData\Local\Programs\Python\Python311\Lib\http\client.py",
line 1277, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File
"C:\Users\GBattaglia\AppData\Local\Programs\Python\Python311\Lib\http\client.py",
line 1037, in _send_output
self.send(msg)
File
"C:\Users\GBattaglia\AppData\Local\Programs\Python\Python311\Lib\http\client.py",
line 975, in send
self.connect()
File
"C:\Users\GBattaglia\AppData\Local\Programs\Python\Python311\Lib\http\client.py",
line 1454, in connect
self.sock = self._context.wrap_socket(self.sock,
File
"C:\Users\GBattaglia\AppData\Local\Programs\Python\Python311\Lib\ssl.py", line
517, in wrap_socket
return self.sslsocket_class._create(
^
File
"C:\Users\GBattaglia\AppData\Local\Programs\Python\Python311\Lib\ssl.py", line
1075, in _create
self.do_handshake()
File
"C:\Users\GBattaglia\AppData\Local\Programs\Python\Python311\Lib\ssl.py", line
1346, in do_handshake
self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CE