I have installed Anaconda
package on a server as a user account, then I installed keras
by conda install keras
,but after installation, when I run import keras
, it raised no module names keras
,anyone can help? thanks very much!
conda install -c anaconda keras-gpu If you want to use your CPU to built models, execute the following command instead: conda install -c anaconda keras A lot of computer stuff will start happening.
Spyder is an IDE for executing python applications. Let us install this IDE in our conda environment using the below command − We have already known the python libraries numpy, pandas, etc., needed for keras. You can install all the modules by using the below syntax −
To install Keras & Tensorflow GPU versions, the modules that are necessary to create our models with our GPU, execute the following command: conda install -c anaconda keras-gpu. If you want to use your CPU to built models, execute the following command instead: conda install -c anaconda keras.
8. To install Keras & Tensorflow GPU versions, the modules that are necessary to create our models with our GPU, execute the following command: conda install -c anaconda keras-gpu. If you want to use your CPU to built models, execute the following command instead: conda install -c anaconda keras. A lot of computer stuff will start happening.
One solution could be creating a conda environment:
conda create -n keras python=3.5
Now activate it:
conda activate keras
and install keras:
(keras)$ conda install keras
Try if it works:
(keras)$ python
>>> import 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