Monday, November 9, 2020

install keras 2.4.0

NOTE: conda and pip are incompatible. So, pip install keras does NOT work in conda environment. 

Use pip install in the base environment. 



conda activate tf

python setup.py build

python setup.py install


from tensorflow  import keras

print(keras.__version__)

return 2.2.4-tf


====

(tf) pip install keras --upgrade 

Installing collected packages: keras

  Attempting uninstall: keras

    Found existing installation: Keras 2.3.1

    Uninstalling Keras-2.3.1:

      Successfully uninstalled Keras-2.3.1

Successfully installed keras-2.4.3

No comments:

Post a Comment