【发布时间】:2017-10-29 15:46:54
【问题描述】:
尝试使用 conda 安装 tensorflow 并引发规范冲突错误。我没有安装 python 3.5
conda install -c conda-forge tensorflow
Fetching package metadata ...............
Solving package specifications: .
UnsatisfiableError: The following specifications were found to be in conflict:
- python 3.6*
- tensorflow -> python 3.5*
Use "conda info <package>" to see the dependencies for each package.
python--版本 Python 3.6.0 :: Anaconda 自定义(64 位)
我似乎无法在普通的 python IDE 上运行 tensorflow,它说找不到模块。所以我安装了 Anaconda,除了 tensorflow 之外,一切似乎都很好。有什么方法可以安装吗?
【问题讨论】:
-
您似乎正在 python3.6 环境中安装 tensorflow for python3.5。尝试创建一个安装了所有 anaconda 包的 python 3.5 环境并安装 tensorflow...
-
´conda create -n Tensorflow anaconda python=3.5´.. 这将创建名为 Tensorflow 的 python3.5 环境,并安装了所有 anaconda 包。然后为 python3.5 安装 tensorflow 在安装 TF 之前不要忘记使用“source activate Tensorflow”激活这个发行版
-
哦!.. 让我试试
-
@Mechanic 你能把这个作为答案吗?
标签: python tensorflow anaconda conda