from ktsh.tanaka.2020 to quique123
There is a conflict between the packages in your Anaconda and the Tesorflow you want to install.
To change this situation, it is good to create an environment for Tensorflow.
example:
(base) $ conda create --name tensorflow python=3.8
The created environment is activated by the conda activate environment name.
example:
(base) $ conda activate tensorflow
(tensorflow) $
In this newly created environment, even conflicting packages can be installed.
example:
(base) $ conda activate py36
(py36) $
When you switch the Conda environment, the prompt display also switches from (base) to (py36).
Let’s install TensorFlow 1.15 in this environment. When installing by specifying the version, specify in the format of conda install package name = version.
(py36) $ conda install tensorflow = 1.15
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: done
Package Plan
environment location: / opt / anaconda3 / envs / py36
added / updated specs:
–tensorflow = 1.15
Let’s create another environment for Python 3.7 with the name py37.
(py36) $ conda create --name py37 python = 3.7
Collecting package metadata (current_repodata.json): done
Activate the py37 environment you created.
(py36) $ conda activate py37
(py37) $
Install TensortFlow 2.0 in this environment.
(py37) $ conda install tensorflow = 2.0
I hope that your Anaconda environment will be built successfully.
Regards, yours.