Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fetch_mldata error #8654

Closed
marverlous811 opened this issue Mar 27, 2017 · 7 comments
Closed

fetch_mldata error #8654

marverlous811 opened this issue Mar 27, 2017 · 7 comments

Comments

@marverlous811
Copy link

marverlous811 commented Mar 27, 2017

from sklearn.datasets import fetch_mldata
mnist = fetch_mldata('MNIST original', data_home='./data')

when I use this, it not working and in cmd show

Traceback (most recent call last): File "mnistTest.py", line 7, in <module> mnist = fetch_mldata('MNIST original', data_home='./data') File "C:\Python27\lib\site-packages\sklearn\datasets\mldata.py", line 142, in fetch_mldata mldata_url = urlopen(urlname) File "C:\Python27\lib\urllib2.py", line 154, in urlopen return opener.open(url, data, timeout) File "C:\Python27\lib\urllib2.py", line 429, in open response = self._open(req, data) File "C:\Python27\lib\urllib2.py", line 447, in _open '_open', req) File "C:\Python27\lib\urllib2.py", line 407, in _call_chain result = func(*args) File "C:\Python27\lib\urllib2.py", line 1228, in http_open return self.do_open(httplib.HTTPConnection, req) File "C:\Python27\lib\urllib2.py", line 1198, in do_open raise URLError(err) urllib2.URLError: <urlopen error [Errno 10060] A connection attempt failed becau se the connected party did not properly respond after a period of time, or estab lished connection failed because connected host has failed to respond>

@glemaitre
Copy link
Member

Duplicate #8588

@lesteve
Copy link
Member

lesteve commented Mar 27, 2017

Thanks @glemaitre closing

@lesteve lesteve closed this as completed Mar 27, 2017
@lesteve
Copy link
Member

lesteve commented Mar 27, 2017

@marverlous811 if you can remember to close the issue next time. This helps maintain some sanity in our bug tracker, thanks!

@marverlous811
Copy link
Author

ok, I'll remeber that. Thank a lot

@xuezhiyang
Copy link

do you resolve this problem? i also meet with this problem and do not know how to resolve.

@jnothman
Copy link
Member

jnothman commented Aug 13, 2017 via email

@kimitop
Copy link

kimitop commented Jul 5, 2018

I have the problem too.
sklearn 0.19.1
windows 10
python 3.6.5
I download the mat file and put in local directroy.but the problem still there. I think the program will connect the mldata server first,although I have the local data file .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants