解决方案

我在这里使用的方法是在命令行窗口执行:

pip install --upgrade --ignore-installed tensorflow.

若权限不够可尝试:

pip install --user --upgrade --ignore-installed tensorflow.