Error in CONDA installation Library:
conda install keras
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Solution:
conda config --set channel_priority flexible
Then it’s running normally
conda install keras
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: done
## Package Plan ##
environment location: E:\Apps\Anaconda3
added/updated specs:
- keras
The following packages will be downloaded:
package | build
---------------------------|-----------------
tensorflow-base-1.15.0 |mkl_py37h190a33d_0 36.2 MB
------------------------------------------------------------
Total: 36.2 MB
The following NEW packages will be INSTALLED:
keras pkgs/main/win-64::keras-2.2.4-0
keras-base pkgs/main/win-64::keras-base-2.2.4-py37_0
The following packages will be DOWNGRADED:
tensorflow 2.0.0-mkl_py37he1bbcac_0 --> 1.15.0-mkl_py37h3789bd0_0
tensorflow-base 2.0.0-mkl_py37hd1d5974_0 --> 1.15.0-mkl_py37h190a33d_0
tensorflow-estima~ 2.0.0-pyh2649769_0 --> 1.15.1-pyh2649769_0
Proceed ([y]/n)?y
After looking at the installation process, it seems that keras is based on tensorflow 1.5…
Then I gave up keras, refactored the code, and used the tensorflow.keras Instead of keras. Most of keras are in tensorflow.keras Have, some can’t directly correspond to their own online search on the line.
Similar Posts:
- Solving the problem of “solving environment: failed” of CONDA
- Solving the problem of “solving environment: failed” of CONDA
- python=2.7-not available from current channels [How to Solve]
- How to Solve Conda Error: An HTTP error occurred when trying to retrieve this URL.
- [Solved] CondaHTTPError: HTTP 000 CONNECTION FAILED for url
- Tensorflow Warning: cona The environment is inconsistent, please check the package plan carefully
- How to Solve PackagesNotFoundError: The following packages are not available from current channels
- Anaconda establishes a new environment, and condahttpererror: http 000 connection failed for URL… Solution process appears
- How to Solve Anaconda Error: PackageNotFoundError: Package not found: ” Package missing in current win-64 channels
- How to Solve Anaconda Error (Three Errors to Solve)