使用 Debian 8 VirtualBox 安装 Tensorflow 的 Anaconda 失败
Anaconda installation of Tensorflow fails with Debian 8 VirtualBox
我正在尝试安装 Tensorflow。
我为此创建了一个全新的 Debian 8 VirtualBox。按照说明 here 我用 Python 3.
下载并安装了 Anaconda
我为 Tensorflow 创建了一个 conda 环境并激活了它。
当尝试 pip install Tensorflow 失败时:
(tensorflow)$ pip install --ignore-installed --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.8.0-cp34-cp34m-linux_x86_64.whl
错误是
not a supported wheel on this platform
我发现了一个类似的帖子,其中有人在使用 Python 2.7 和 VMware 时遇到了这个问题,但他们的解决方案对我不起作用(并且对另一个评论说他们正在使用 VirtualBox 的人也不起作用) .
我还尝试指定 pip3
和 pip3.5
而不仅仅是 pip
.
这似乎是来自以下 issue. Which paraphrased you should be able to download https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.8.0-cp34-cp34m-linux_x86_64.whl
and change the name of the .whl
to tensorflow-0.8.0-py3-none-linux_x86_64.whl
and install it correctly. There has been a change to the github documentation for Tensorflow to set the python version to 3.4 instead of 3.5. However, it appears this change hasn't made it to Tensorflow.org's documentation
的 "known" 问题
# Python 3.4
$ conda create -n tensorflow python=3.4
我正在尝试安装 Tensorflow。
我为此创建了一个全新的 Debian 8 VirtualBox。按照说明 here 我用 Python 3.
下载并安装了 Anaconda我为 Tensorflow 创建了一个 conda 环境并激活了它。
当尝试 pip install Tensorflow 失败时:
(tensorflow)$ pip install --ignore-installed --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.8.0-cp34-cp34m-linux_x86_64.whl
错误是
not a supported wheel on this platform
我发现了一个类似的帖子,其中有人在使用 Python 2.7 和 VMware 时遇到了这个问题,但他们的解决方案对我不起作用(并且对另一个评论说他们正在使用 VirtualBox 的人也不起作用) .
我还尝试指定 pip3
和 pip3.5
而不仅仅是 pip
.
这似乎是来自以下 issue. Which paraphrased you should be able to download https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.8.0-cp34-cp34m-linux_x86_64.whl
and change the name of the .whl
to tensorflow-0.8.0-py3-none-linux_x86_64.whl
and install it correctly. There has been a change to the github documentation for Tensorflow to set the python version to 3.4 instead of 3.5. However, it appears this change hasn't made it to Tensorflow.org's documentation
# Python 3.4
$ conda create -n tensorflow python=3.4