When I run !pip install 'library_name' in the kaggle console it throws this warning:
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None))
after connection broken by 'NewConnectionError('
<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fc7bd22aed0>:
Failed to establish a new connection: [Errno -3] Temporary failure in name resolution
')': /simple/pip/
and ultimately doesn't install the library.
What is the reson for this warning and how to solve this problem?
Open the tab bar on the right -> In the Settings drop-down, enable 'Internet'. Now you can install any python library.
In case the internet option is not visible, you must confirm your phone number. Kaggle requires your phone number to be verified when you first register in order for you to use certain functions, such internet access.
Another source: https://stackoverflow.com/a/68142525/8654414
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With