To help new users find a good installation of Python, we added a shortcut to Windows that will take you directly to the latest version of the community's package published in the Microsoft Store. Thanks to our user community for contributing this issue to the docs. * Further discussion in the WSL product repo on GitHub. Sudo apt -y install python3-pip -fix-missing Unless you are running an aftermarket firewall, the likely solution is to simply re-install pip: sudo apt -y purge python3-pip (Warning: on WSL do not try editing nf, that file is a symbolic link and modifying it is a can of worms). When researching this problem you may be led down several rabbit holes, none of which are particularly productive with a WSL linux distribution. Temporary failure in name resolution')': /simple/flask/ When installing a package (like Flask) with pip on Windows Subsystem for Linux (WSL or WSL2), for example python3 -m pip install flask, you may specifically encounter an error like this: WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None))Īfter connection broken by 'NewConnectionError(': Failed to establish a new connection:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |