Unable to retrieve data from Juypter notebook

harirammanohar159 at gmail.com harirammanohar159 at gmail.com
Thu Nov 21 07:03:06 EST 2019


Trying to load cifar10 dataset from keras library using juypter notebook, but i am getting below error 
SSLError: [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1051)

During handling of the above exception, another exception occurred:
Exception: URL fetch failure on https://www.cs.toronto.edu/~kriz/cifar-10-python.tar.gz: None -- [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1051)

So i tried to remove https in the source file cifar10.py, then i am getting forbidden
Exception: URL fetch failure on http://www.cs.toronto.edu/~kriz/cifar-10-python.tar.gz: 403 -- Forbidden

But if i use the same url from the browser i am able to download without any issues..
can any one please help me out !!

Thanks in Advance.


More information about the Python-list mailing list