I have installed Keras using this command:
sudo pip install keras
It installed properly and worked fine until I tried to import application modules:
from keras.applications.vgg16 import VGG16 Using Theano backend. Couldn't import dot_parser, loading of dot files will not be possible. Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named applications.vgg16
I came across this link which recommends to uninstall Keras and directly install Keras from GitHub:
sudo pip install git+https://github.com/fchollet/keras.git
Before reinstalling Keras from GitHub, I tried to unistall Keras using this command but it throws this error:
sudo pip uninstall keras Can't uninstall 'Keras'. No files were found to uninstall.
To uninstall Keras, launch a command shell and issue the command pip uninstall keras. The Keras package will be removed from your Python system, as shown in (the slightly edited-for-size) Figure 1-20. To uninstall TensorFlow, issue pip uninstall tensorflow.
How to install Keras on windows? Before installing Keras, you must have Python installed on your system. We recommend you to have the latest version of python (python 3.5 +). To check the version of python installed on your system.
You can simply try from the following command:
pip uninstall keras
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With