Keras module not found (and some others too)
Platform (like ubuntu 16.04/win10): ubuntu 18.04
Python version: 3.6.9
After installation of mmdnn with command "pip install mmdnn", any mmdnn command related to keras fails with message: "ModuleNotFoundError: No module named 'keras'"
For instance command "$mmdownload -f keras" produces this error stack:
Traceback (most recent call last):
File "/home/bw/.local/bin/mmdownload", line 8, in
This does not to occur with "caffe" or "mxnet" for which such command succeeds, but it occurs also with the other framework identifiers.
May be an installation issue ?
Thank you for your help !
@bwery , thank you very much for the feedback. MMdnn does not install Keras automatically, so you may try the following command to install it manually:
pip3 install --user keras==2.2.4
Please note:
- '--user' will install Keras to /home/bw/.local/lib/python3.6/site-packages
- You may try the latest Keras 2.3.1
Thank you linmajia ! Seems to be the first step for resolution. It was not clear for me that mmdnn was requiring the frameworks to be present. This solve the issue about the module not found. Now, I have another issue that looks related to the fact that I have Tensoflow 2.1 installed, but this is another point. I investigate.
@bwery , thank you very much for the feedback. MMdnn does not install Keras automatically, so you may try the following command to install it manually:
pip3 install --user keras==2.2.4Please note:
- '--user' will install Keras to /home/bw/.local/lib/python3.6/site-packages
- You may try the latest Keras 2.3.1
I have Keras installed, but still I get the same error.
Platform: Ubuntu 18.04 Python version: 3.6.9 Keras version: 2.3.1