Index: pip-24.2/src/pip/_vendor/requests/adapters.py =================================================================== --- pip-24.2.orig/src/pip/_vendor/requests/adapters.py +++ pip-24.2/src/pip/_vendor/requests/adapters.py @@ -81,7 +81,7 @@ try: _preloaded_ssl_context.load_verify_locations( extract_zipped_paths(DEFAULT_CA_BUNDLE_PATH) ) -except ImportError: +except (ImportError, FileNotFoundError): # Bypass default SSLContext creation when Python # interpreter isn't built with the ssl module. _preloaded_ssl_context = None