Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to uninstall Keras?

Tags:

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. 
like image 220
Eka Avatar asked Jan 01 '17 09:01

Eka


People also ask

How do I uninstall Python keras?

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.

Can I install keras on Windows?

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.


1 Answers

You can simply try from the following command:

pip uninstall keras 
like image 106
Md. Rezwanul Haque Avatar answered Sep 19 '22 13:09

Md. Rezwanul Haque