我在 Windows 8.1 上有 conda 4.8.3 和 Python 3.7.4。
我在 conda 环境中安装了 tf 2.0.0。如何升级到 2.2.x?
或者,我如何在 conda 环境中安装 2.2.x?
编辑 1: pip install --upgrade tensorflow 说: Requirement already up-to-date: tensorflow in d:\anaconda3\envs\tf2\lib\site-packages (2.1.0)
但是 tf 版本仍然是 2.0。
编辑 2:conda install tensorflow==2.2.0 说:
PackagesNotFoundError: The following packages are not available from current channels:
Run Code Online (Sandbox Code Playgroud)
我在这里确实有一些运气。
编辑3:
(tf2) D:\ray\dev\covid-19>conda list -n tf2
# packages in environment at D:\Anaconda3\envs\tf2:
#
# Name Version Build Channel
_anaconda_depends 2019.03 py37_0
_ipyw_jlab_nb_ext_conf 0.1.0 py37_0 …Run Code Online (Sandbox Code Playgroud)