Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Keras installation

Tags:

I create an virtual environment in my conda named 'keras_ev' and install the keras in it by

conda install keras

after that when i

activate keras_ev
jupyter notebook

the notebook does not show my keras_ev environment enter image description here

and i fail to import the keras in my notebook.

Does anybody know how to fix this! Thank you

like image 702
Pumpkin C Avatar asked Dec 05 '17 17:12

Pumpkin C


1 Answers

Try conda install ipykernel in your keras_ev environment. Then it should appear in your Jupyter notebook.

You can also install Python dependencies while using your Jupyter notebook. First, activate the environment keras_ev in another terminal tab. Then install your dependency using conda or pip (conda is recommended). It should be something like the text below.

In a new terminal:

source activate keras_ev
conda install *your_package*
like image 90
enRIKO Avatar answered Sep 20 '22 13:09

enRIKO