Tensorflow 安装错误:此平台不支持轮子 [英] Tensorflow installation error: not a supported wheel on this platform
问题描述
当我尝试通过从 git 克隆来安装 tensorflow 时,我遇到了错误没有名为 copyreg 的模块",所以我尝试使用 virtualenv 进行安装.但是,我然后遇到了这个错误:
when I try to install tensorflow by cloning from git, I run into the error "no module named copyreg," so I tried installing using a virtualenv. However, I then run into this error:
pip install https://storage.googleapis.com/tensorflow/mac/tensorflow-0.5.0-py2-none-any.whl
tensorflow-0.5.0-py2-none-any.whl is not a supported wheel on this platform.
我在常见问题部分没有看到这一点,所以任何帮助将不胜感激!谢谢你.
I don't see this under the common problems section, so any help would be appreciated! Thank you.
推荐答案
我也遇到了同样的问题
我从 https://bootstrap.pypa 下载了 get-pip.py
.io/get-pip.py
I too got the same problem
I downloaded get-pip.py
from https://bootstrap.pypa.io/get-pip.py
然后运行python2.7 get-pip.py
来安装pip2.7
然后使用 python2.7
运行 pip install
命令,如下
and then ran the pip install
command with python2.7
as follows
对于 Ubuntu/Linux:
python2.7 -m pip install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.5.0-cp27-none-linux_x86_64.whl
对于 Mac OS X:
python2.7 -m pip install https://storage.googleapis.com/tensorflow/mac/tensorflow-0.5.0-py2-none-any.whl
这对我来说应该可以正常工作:)
this should work just fine as it did for me :)
我按照此处的说明进行操作
这篇关于Tensorflow 安装错误:此平台不支持轮子的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!