ImportError: No module named data_utils

2,454 views
Skip to first unread message

Chang Liu

unread,
Mar 9, 2016, 7:09:14 PM3/9/16
to Keras-users
cliu@cliu-ubuntu:bin$ python
Python 2.7.9 (default, Apr  2 2015, 15:33:21) 
[GCC 4.9.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from __future__ import print_function
>>> from keras.utils.data_utils import get_file
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named data_utils

I cannot import this module. Anyone knows why? Thanks a lot. 

François Chollet

unread,
Mar 9, 2016, 7:23:38 PM3/9/16
to Chang Liu, Keras-users
Just update Keras to the Github master branch.

--
You received this message because you are subscribed to the Google Groups "Keras-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to keras-users...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/keras-users/c2833dd3-cec1-476f-91f0-a62efdb03322%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Chang Liu

unread,
Mar 9, 2016, 7:36:30 PM3/9/16
to Keras-users
I installed Keira's by using pip install keras. Should I reinstall it using ./setup.py in the github or is there other way that I can update it?

François Chollet

unread,
Mar 9, 2016, 7:40:08 PM3/9/16
to Chang Liu, Keras-users
Should I reinstall it using ./setup.py in the github

Yes.

On 9 March 2016 at 16:36, Chang Liu <fluen...@gmail.com> wrote:
I installed Keira's by using pip install keras. Should I reinstall it using ./setup.py in the github or is there other way that I can update it?
--
You received this message because you are subscribed to the Google Groups "Keras-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to keras-users...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages