i installed keras 1.1 version and theano 0.8.2 version on a python2.7 anaconda virtualenvironment on windows 10 machine to run this repo the installation went fine but when i try to import keras in python shell it gives me this error
>>> import theano
>>> import keras
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Users\Kattooparambil\Anaconda3\envs\mainproject\lib\site-packages\keras\__init__.py", line 2, in <module>
from . import backend
File "C:\Users\Kattooparambil\Anaconda3\envs\mainproject\lib\site-packages\keras\backend\__init__.py", line 29, in <module>
_config = json.load(open(_config_path))
File "C:\Users\Kattooparambil\Anaconda3\envs\mainproject\lib\json\__init__.py", line 291, in load
**kw)
File "C:\Users\Kattooparambil\Anaconda3\envs\mainproject\lib\json\__init__.py", line 339, in loads
return _default_decoder.decode(s)
File "C:\Users\Kattooparambil\Anaconda3\envs\mainproject\lib\json\decoder.py", line 364, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Users\Kattooparambil\Anaconda3\envs\mainproject\lib\json\decoder.py", line 380, in raw_decode
obj, end = self.scan_once(s, idx)
ValueError: Expecting property name: line 7 column 2 (char 145)
>>>
i dont know the reason for the error , im guessing it has something to do with windows and keras 1.1 incompatiblity
The contents of .keras/keras.json file
{
"floatx": "float32",
"epsilon": 1e-07,
"backend": "theano",
"image_data_format": "channels_last",
"image_dim_ordering": "th",
}
The steps i did to reach this stage as said in this thread .i created a virtualenv with python2.7 in anaconda3
started the virtualenv terminal
pip install keras==1.1.0 h5py theano==0.8.2 librosa
and the imported keras and it gives me this error
Any help is greatly appreciated