Home > other >  An error occurred when python -- installed in the anaconda keras./p KERAS_BACKEND=0
An error occurred when python -- installed in the anaconda keras./p KERAS_BACKEND=0

Time:11-17

I created a new env in the anaconda, when installing a spyder, tensorflow and I tried to install after theano keras but I received an error message (see below). Now I can't even open the spyder, because it stops working. Spyder is only effective when I unload keras again.
Do you know what will happen? I have another on the same machine environment, it is the same as the installation of the software package perfect cooperation.

(py36) C: \ Users \ LeicaMicroscope> Conda install - c conda - forge keras
Solving the environment: the done

# # # # Package Plan

The environment the location: C: \ Users \ LeicaMicroscope \ Anaconda3 \ envs \ py36

Added/updated specs:
- keras


The following packages will be downloaded:

Package | build
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- - | -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Certifi - 2018.4.16 | py36_0 143 KB conda - forge

The following NEW packages will be INSTALLED:

Keras: 2.1.6 - py36_0 conda - forge

The following packages will be UPDATED:

Ca - certificates: 2018.03.07-0 - & gt; 2018.4.16 0 conda xsl-fo
Rge
Certifi: 2018.4.16 - py36_0 - & gt; 2018.4.16 - py36_0 conda xsl-fo
Rge
Openssl: 1.0.2 o - h8ea7d77_0 - & gt; 1.0.2 o - vc14_0 conda xsl-fo
Rge [vc14]

Proceed ([y/n)? Y


Downloading and Extracting Packages
Certifi - 2018.4.16 | 143 KB | # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # | 100%
Preparing the transaction: the done
Verifying the transaction: the done
Executing the transaction: the done

(py36) C: \ Users \ LeicaMicroscope> Set "KERAS_BACKEND="

(py36) C: \ Users \ LeicaMicroscope> Python C: \ Users \ LeicaMicroscope \ Anaconda3 \ envs \ p
Y36 \ etc \ keras \ load_config. Py 1 & gt; Temp. TXT

(py36) C: \ Users \ LeicaMicroscope> The set/p=0 KERAS_BACKEND & lt; Temp. TXT

(py36) C: \ Users \ LeicaMicroscope> Del temp. TXT

(py36) C: \ Users \ LeicaMicroscope> Python - c "import keras" 1 & gt; Nul 2 & gt; & 1

(py36) C: \ Users \ LeicaMicroscope> If errorlevel 1 (
Ver 1 & gt; Nul
Set "KERAS_BACKEND=theano"
Python - c "import keras" 1 & gt; Nul 2 & gt; & 1
)

CodePudding user response:

This may sound obvious, but you try to use PIP to install?

CodePudding user response:

The building Lord solved
  • Related