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.
Read More:
- [Solved] Pytorch Install Error: Solving environment: failed with initial frozen solve. Retrying with flexible solve
- [Solved] MAC terminal Use ‘CONDA activate’ and ‘CONDA install package_ Error reported by name’ Error
- [Solved] conda install DBUtils Error: To search for alternate channels that may provide the conda package you’re looking for
- [Solved] CONDA Error: Collecting package metadata (current_repodata.json): failed…
- To solve the problem that the loss of verification set of resnet50 pre-training model remains unchanged
- VScode: How to Solve Pylance Error (pip Library Files Installed)
- How to Solve keras load_model() Error
- [Solved] Conda install Error: An HTTP error occurred when trying to retrieve this URL. HTTP errors are often…
- How to Solve Termux install Pillow Error
- Python: How to Solve mysqlclient Install Error in Mac
- How to Solve PIP Install fasttext Error
- How to Solve Geopy library Error: Configurationerror Error
- How to Solve Python3.9 Install pycrypto Error
- How to Solve PIP3 error After upgrading pip3 install –upgrade pip
- [Solved] R Error: Python module tensorflow.keras was not found.
- How to Solve Python Importerror: DLL load failed: unable to find the specified program using tensorflow
- [Solved] Conda Upgrade Error: PackageNotInstalledError: Package is not installed in prefix.
- VScode Run CONDA environment Error [How to Solve]
- Pytorch: How to Handle error warning conda.gateways.disk.delete:unlink_or_rename_to_trash(140)
- TensorFlow Install Error: Could not load dynamic library ‘*****.dll‘; dlerror: ********.dll not found