I suspect that you are missing the C++ redistributable that is mentioned as a Tensorflow requirement on this page:
For a further discussion of this issue, take a look at this stackoverflow post:
I hope this helps.
I suspect that you are missing the C++ redistributable that is mentioned as a Tensorflow requirement on this page:
For a further discussion of this issue, take a look at this stackoverflow post:
I hope this helps.
Ok I dont think I fixed the environment I was using (base). I actually ended up creating a new environment where i tried other things and one of them was reinstalling something (keras or tensorflow) via the command line instead of the gui, and that environment works. But the old base one still doesnt.
What i think i did was open up the command prompt for the base environment inside anaconda and did a pip install or something. But the command prompts are no longer available on anaconda 2.3.
So now Im getting this error on both base environment and the new one where it used to work, named anaconda2:
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-3-46e795d6477d> in <module>()
6 from statsmodels.tools.eval_measures import rmse
7 from sklearn.preprocessing import MinMaxScaler
----> 8 from keras.preprocessing.sequence import TimeseriesGenerator
9 from keras.models import Sequential
10 from keras.layers import Dense
/opt/anaconda2/lib/python2.7/site-packages/keras/__init__.py in <module>()
1 from __future__ import absolute_import
2
----> 3 from . import utils
4 from . import activations
5 from . import applications
/opt/anaconda2/lib/python2.7/site-packages/keras/utils/__init__.py in <module>()
1 from __future__ import absolute_import
----> 2 from . import np_utils
3 from . import generic_utils
4 from . import data_utils
5 from . import io_utils
ImportError: cannot import name np_utils