Traceback (most recent call last):


 "/usr/local/Cellar/python@2/2.7.15_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 801, in __bootstrap_inner

self.run()


 "/usr/local/Cellar/python@2/2.7.15_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 754, in run

self.__target(*self.__args, **self.__kwargs)


 "/usr/local/lib/python2.7/site-packages/doubanfm/config.py", line 114, in check_version

self.is_latest = is_latest('douban.fm')


 "/usr/local/lib/python2.7/site-packages/doubanfm/check.py", line 12, in is_latest

for dist in pip.get_installed_distributions():
AttributeError: 'module' object has no attribute 'get_installed_distributions'

Traceback (most recent call last):


 "/home/nesty/PycharmProjects/autokeras/imdb.py", line 54, in <module>

model.save('model.h5')


 "/home/nesty/PycharmProjects/autokeras/venv/lib/python3.6/site-packages/tensorflow_core/python/keras/engine/network.py", line 1008, in save

signatures, options)


 "/home/nesty/PycharmProjects/autokeras/venv/lib/python3.6/site-packages/tensorflow_core/python/keras/saving/save.py", line 112, in save_model

model, filepath, overwrite, include_optimizer)


 "/home/nesty/PycharmProjects/autokeras/venv/lib/python3.6/site-packages/tensorflow_core/python/keras/saving/hdf5_format.py", line 109, in save_model_to_hdf5

save_weights_to_hdf5_group(model_weights_group, model_layers)


 "/home/nesty/PycharmProjects/autokeras/venv/lib/python3.6/site-packages/tensorflow_core/python/keras/saving/hdf5_format.py", line 627, in save_weights_to_hdf5_group

weight_values = K.batch_get_value(weights)


 "/home/nesty/PycharmProjects/autokeras/venv/lib/python3.6/site-packages/tensorflow_core/python/keras/backend.py", line 3270, in batch_get_value

return [x.numpy() for x in tensors]


 "/home/nesty/PycharmProjects/autokeras/venv/lib/python3.6/site-packages/tensorflow_core/python/keras/backend.py", line 3270, in <listcomp>

return [x.numpy() for x in tensors]
AttributeError: 'TrackableWeightHandler' object has no attribute 'numpy'
