Anaconda installation of Tensorflow fails with Debian 8 VirtualBox

做~自己de王妃 提交于 2019-12-24 00:02:37

问题


I'm trying to install Tensorflow.

I created a fresh Debian 8 VirtualBox for this purpose. Following the instructions here I downloaded and installed Anaconda with Python 3.

I created a conda environment for Tensorflow and activated it.

When trying to pip install Tensorflow it fails:

(tensorflow)$ pip install --ignore-installed --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.8.0-cp34-cp34m-linux_x86_64.whl

The error is

not a supported wheel on this platform

I found a similar thread where a person had this problem with Python 2.7 and VMware, but their solution didn't work for me (and also not for another person who commented that they were using VirtualBox).

I also tried specifying pip3 and pip3.5 rather than just pip.


回答1:


This appears to be a "known" issue from the following 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


来源:https://stackoverflow.com/questions/37327151/anaconda-installation-of-tensorflow-fails-with-debian-8-virtualbox

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!