Python 3.5, I am trying to find command to install a kersa Deep Learning package for Anaconda. Why does this 'conda install -c keras' not work?
相关问题
- how to define constructor for Python's new Nam
- streaming md5sum of contents of a large remote tar
- batch_dot with variable batch size in Keras
- How to get the background from multiple images by
- Evil ctypes hack in python
I'm relatively new to Keras as well as Ubuntu and environments. However I think I've found a way. Create the conda env just like you would while installing Tensorflow (or even Theano).
Enter the env using source activate
Then use git clone https://github.com/fchollet/keras.git
Then enter keras folder and do python setup.py install (without the sudo) - If any permissions error use chmod 777 recursively
Navigate to
Anaconda installation folder/Scripts
and install withpip
commandThe specific answer to the question is that the
-c
option to theconda
command specifies a channel to search for the package or packages you want to install.Your command
conda install -c keras
specifies a channel calledkeras
(on the default channel_alias url) but doesn't then specify any packages to install, so that's why you get theValue error: too few arguments
error.As Madhu Babu's answer notes, keras is available on the conda-forge channel so the correct command is
You can use this command to install keras
this is according to the documentation https://anaconda.org/conda-forge/keras