Installing Keras package with conda install

前端 未结 2 1902
眼角桃花
眼角桃花 2021-01-05 15:39

I have installed Anaconda package on a server as a user account, then I installed keras by conda install keras,but after installation,

2条回答
  •  耶瑟儿~
    2021-01-05 16:16

    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
    

提交回复
热议问题