Installing Keras package with conda install

前端 未结 2 1886
眼角桃花
眼角桃花 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 15:51

    Once creating the Conda environment, use the command below to list available environment:

    conda info -e
    

    Once activate your conda environment, you can try to install Keras by

    pip install keras==version_your_desired.
    

    Then use

    pip freeze
    

    to check the version.

    0 讨论(0)
  • 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
    
    0 讨论(0)
提交回复
热议问题