Install Keras (used with Anaconda)

Overview

--Installation for using Keras on Anaconda on Mac. When I tried to use Keras with Anaconda this time, I stumbled a little, so I will post it as a reference.

environment

Installation

In order to use keras, tensorflow is also required, so install it. In terms of success results

$ sudo conda install tensorflow

$ sudo conda install keras

Now available on anaconda.

I often use pip for installation with python, but this time I use installation with conda. Besides keras, python has a lot of libraries, but most of them were available for installation with pip, but in the case of keras this time, I couldn't use them with pip. If you installed with pip, you may uninstall with pip and install with the above description.

Even if I didn't add sudo with conda install keras, it seemed to be successful, but when I looked at it, I got an error. In my case, it seems that I needed sudo (administrator privileges). When installing other libraries, I also succeeded by adding sudo, so if it fails, it may be good to add it.

Recommended Posts

Install Keras (used with Anaconda)
Install Python environment with Anaconda
install keras
I can't install mysql-connector-python with anaconda
How to install Anaconda with pyenv
Install OpenCV 4.0 and Python 3.7 on Windows 10 with Anaconda
Image recognition with keras
Error with pip install
I can't install Anaconda!
Use Python 3.8 with Anaconda
CIFAR-10 tutorial with Keras
Install Anaconda on Windows 10
Install Voluptuous with Python 2.5
Install torch-scatter with PyTorch 1.7
Install python with pyenv
Multivariate LSTM with Keras
Install scikit.learn with pip
Install cvxopt on 64bit Anaconda
[CentOS7] Install anaconda using pyenv
Multiple regression analysis with Keras
Install cvxpy on windows, Anaconda
When moss with pip install
Auto Encodder notes with Keras
Specify version with conda install
Implemented word2vec with Theano + Keras
Sentence generation with GRU (keras)
Tuning Keras parameters with Keras Tuner
Install module on Anaconda (Mac)
Install external libraries with Python
Install github repository with pip
Easily build CNN with Keras
Implemented Efficient GAN with keras
Try using folium with anaconda
Image recognition with Keras + OpenCV
How to install python using anaconda
MNIST (DCNN) with Keras (TensorFlow backend)
Install Python 2.7.9 and Python 3.4.x with pip.
tensor flow with anaconda on mac
What to do with Magics install
I can't install python3 with pyenv-vertualenv
Predict Kaggle's Titanic with keras (kaggle ⑦)
Install Python from source with Ansible
Precautions when installing tensorflow with anaconda
Permission denied with pip install pyopenssl
Install scrapy in python anaconda environment
How to install python-pip with ubuntu20.04LTS
Install Python 3.7 Anaconda on MAC, but Python 2
Easy to install pyspark with conda
[TensorFlow] [Keras] Neural network construction with Keras
Install the Python plugin with Netbeans 8.0.2
install tensorflow in anaconda + python3.5 environment
Install the data files with setup.py
Implement Keras LSTM feedforward with numpy
Compare DCGAN and pix2pix with keras
Manipulate colors with pip install color
Score-CAM implementation with keras. Comparison with Grad-CAM
Unable to install Python with pyenv
Use Tensorflow 2.1.0 with Anaconda on Windows 10!
Prediction of sine wave with keras
Install pyStruct on MacOSX10.11 with macports
Beginner RNN (LSTM) | Try with Keras