由于 tensorflow 仅适用于 python 3.5.2,我在 Anaconda 中的默认 IPython env 调用无法导入 tensorflow 的 Python 3.6。有谁知道如何改变它?非常感谢。
请您参考如下方法:
您可以创建一个安装 Python 3.5 的环境。看这里:https://conda.io/docs/using/envs.html
总结
conda create --name tenflow python=3.5 tensorflow ipython
然后,在 Mac 或 Linux 上
source activate tenflow
或在 Windows 上
activate tenflow
