Tensorflow安装错误:此平台上不支持车轮 [英] Tensorflow installation error: not a supported wheel on this platform

查看:129
本文介绍了Tensorflow安装错误:此平台上不支持车轮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试通过从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.io/get-pip.py 下载了get-pip.py a>

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 :)

我从此处遵循了这些说明>

I followed these instructions from here

这篇关于Tensorflow安装错误:此平台上不支持车轮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆