import seaborn as sns
sns.load_dataset('iris')
urllib.error.URLError: <urlopen error [Errno 110] Connection timed out>
import nltk
nltk.download("wordnet")
[nltk_data] Error loading wordnet: <urlopen error [Errno 110]
[nltk_data] Connection timed out>
I am getting these issues on pydroid for android. I am on personal mobile data. I cannot check on PC as that is not available. I have searched Google and stackoverflow.com. But nothing fits my situation. Kindly redirect me to link on stackoverflow.com where it matches or share workaround on pydroid if known!
I have tried installing inbuilt libraries within pydroid. IIEC has permissions/repository plug in. I have installed those too.
Python 3.9.7 (default, Oct 6 2021, 01:34:26) [GCC 11.1.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import seaborn as sns
>>> sns.load_dataset('iris')
Inbuilt interpreter screenshot. This fails too.
import urllib.request
request_url = urllib.request.urlopen('https://www.google.com/')
if request_url.read() :
print("works! ")
works!
[Program finished]
Trying to check if Internet permission is OK