Keras installation with conda issues
See original GitHub issueI have an issue with the installation of Keras with conda package manager. There are several channels where keras is hosted, the most popular one being conda-forge
. When using cond-forge
, a script is added and launched when activating a virtual environment where the variable KERAS_BACKEND
is set to theano
by default, overwriting any configuration in the keras.json
file.
The second issue come when installing keras with the default channel conda install keras
. Here again, an environment variable KERAS_BACKEND
is set to theano
by default, but I did not found where it is set. The only workaround I found was to tweak the keras.backend.__init__.py
file and commenting the environment variable import.
My question is then, do you work with conda
to package keras or is it their own initiative ?
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (1 by maintainers)
I am facing the same problem. At first i used this command conda install -c conda-forge keras tensorflow but the command prompt closes abruptly diplaying this code
I used this link to solve the problem ,
https://stackoverflow.com/questions/53483685/keras-breaks-anaconda-prompt?noredirect=1&lq=1
But now none of the conda integrated Ides would open. Could any one explain me what exactly am i missing ??? (VStudio and Jupyter). I am using Anaconda distibution on windows.
I believe this is the root cause of an issue we’re having in the VS Code python extension as well: https://github.com/Microsoft/vscode-python/issues/5259