![]() ![]() Raise MaxRetryError(_pool, url, error or ResponseError(cause)) : : Failed to establish a new connection: getaddrinfoįile "C:\ProgramData\Anaconda3\lib\site-packages\requests\adapters.py", line 439, inįile "C:\ProgramData\Anaconda3\lib\site-packages\urllib3\connectionpool.py", line 755,įile "C:\ProgramData\Anaconda3\lib\site-packages\urllib3\util\retry.py", line 574, in ![]() Socket.gaierror: getaddrinfo failedĭuring handling of the above exception, another exception occurred:įile "C:\ProgramData\Anaconda3\lib\site-packages\urllib3\connectionpool.py", line 699,įile "C:\ProgramData\Anaconda3\lib\site-packages\urllib3\connectionpool.py", line 382,įile "C:\ProgramData\Anaconda3\lib\site-packages\urllib3\connectionpool.py", line 1010,įile "C:\ProgramData\Anaconda3\lib\site-packages\urllib3\connection.py", line 358, inįile "C:\ProgramData\Anaconda3\lib\site-packages\urllib3\connection.py", line 186, in WARNING, No "Setup" File Exists, Running "buildconfig/config.py"įile "C:\ProgramData\Anaconda3\lib\site-packages\urllib3\connection.py", line 174, inįile "C:\ProgramData\Anaconda3\lib\site-packages\urllib3\util\connection.py", line 73,įor res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):įile "C:\ProgramData\Anaconda3\lib\socket.py", line 954, in getaddrinfoįor res in _socket.getaddrinfo(host, port, family, type, proto, flags): (base) C:\pythonpackage\pygame-2.1.2>python setup.py install So i downloaded a "pygame-2.1.2.tar" file from and then tried to install itįrom cmd with "python setup.py install" commend. These are just assumptions and I haven't tried them on my end, feel free to comment here the outcome if you try it or if you have anything to add.I'm trying to install pygame package on my computer which one is not connected to internet. Changing it to a different value and resetting the value to python fixed the issue for me, but I assume if you just disable/enable the Python extension on VSCode it should work.My assumptions are that defaultInterpreterPath doesn't store the symlink itself but where it points. In my case the project was loaded using the unversioned python symlink pointing to 3.9 and then I've downloaded 3.10 and updated my PATH to have python pointing to 3.10, but when I did that since the value of defaultInterpreterPath didn't change on VS code it didn't try to pick it up again. The extension will also not set nor change the value of this setting, it will only read from it. See to understand when this is usedĪnd when you go to the link the important information is:Ĭhanges to the faultInterpreterPath will not be picked up by the Python extension once user explicitly chooses a different interpreter for the workspace. ![]() Path to default Python to use when extension loads up for the first time, no longer used once an interpreter is selected for the workspace. The description for the option Edster mentioned is: TL:DR: Set defaultInterpreterPath to a different value and reset it to python I've faced the same issue and VSCode actually explains what is going on, and thanks to I could solve it. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |