Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to update Keras with conda

Tags:

conda

keras

I'd like to update Keras to version 2.3.0 with conda. Currently, I've got Keras 2.2.4 running.

First, I tried

conda update keras

which didn't work. Then I tried

conda install -c conda-forge keras
conda install -c conda-forge/label/broken keras
conda install -c conda-forge/label/cf201901 keras 

as suggested by https://anaconda.org/conda-forge/keras. This also didn't update Keras.

Any ideas?

like image 842
MJimitater Avatar asked Oct 07 '19 11:10

MJimitater


People also ask

Does Conda have keras?

WML CE includes Conda packages for Keras-team Keras. Keras-team Keras has been configured to run with the Tensorflow back-end, and is also configured to operate with the Tensorflow Large Model Support (TFLMS). The Keras-team Keras packages include the Keras-team Keras 2.2.

How do I upgrade keras in Jupyter notebook?

You have to do !pip install keras within your jupyter notebook to install the keras package before you can import keras. Keras uses tensorflow backend, so when you install keras it installs tensorflow as part of the requirements.


1 Answers

pip uninstall keras

then

pip install keras
like image 121
jingweimo Avatar answered Oct 18 '22 19:10

jingweimo