- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我在 Ubuntu 14.04 LTS 上从源代码构建了 TensorFlow。我收到以下错误:
tensorflow-1.0.1-cp27-cp27mu-linux_x86_64.whl 在此平台上不受支持。
$ bazel build --config=opt --config=cuda //tensorflow/tools/pip_package:build_pip_package
...
cc1plus: warning: unrecognized command line option "-Wno-self-assign" [enabled by default]
Target //tensorflow/tools/pip_package:build_pip_package up-to-date:
bazel-bin/tensorflow/tools/pip_package/build_pip_package
INFO: Elapsed time: 3222.284s, Critical Path: 2243.74s
ubuntu@ip-10-0-1-32:~/tensorflow$ bazel-bin/tensorflow/tools/pip_package/build_pip_package /tmp/tensorflow_pkg
Tue Mar 21 22:17:06 UTC 2017 : === Using tmpdir: /tmp/tmp.JVDbpc8IYs
~/tensorflow/bazel-bin/tensorflow/tools/pip_package/build_pip_package.runfiles ~/tensorflow
~/tensorflow
/tmp/tmp.JVDbpc8IYs ~/tensorflow
Tue Mar 21 22:17:07 UTC 2017 : === Building wheel
warning: no files found matching '*.dll' under directory '*'
warning: no files found matching '*.lib' under directory '*'
~/tensorflow
Tue Mar 21 22:17:29 UTC 2017 : === Output wheel file is in: /tmp/tensorflow_pkg
$ sudo pip install /tmp/tensorflow_pkg/tensorflow-1.0.1-cp27-cp27mu-linux_x86_64.whl
tensorflow-1.0.1-cp27-cp27mu-linux_x86_64.whl is not a supported wheel on this platform.
Storing debug log for failure in /home/ubuntu/.pip/pip.log
ubuntu@ip-10-0-1-202:~$ python -m pip install --upgrade pip
Requirement already up-to-date: pip in ./anaconda/lib/python2.7/site-packages
ubuntu@ip-10-0-1-202:~$ man pip
ubuntu@ip-10-0-1-202:~$ pip --version
pip 9.0.1 from /home/ubuntu/anaconda/lib/python2.7/site-packages (python 2.7)
vi /home/ubuntu/.pip/pip.log:
tensorflow-1.0.1-cp27-cp27mu-linux_x86_64.whl is not a supported wheel on this platform.
Exception information:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 122, in main
status = self.run(options, args)
File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 257, in run
InstallRequirement.from_line(name, None))
File "/usr/lib/python2.7/dist-packages/pip/req.py", line 168, in from_line
raise UnsupportedWheel("%s is not a supported wheel on this platform." % wheel.filename)
UnsupportedWheel: tensorflow-1.0.1-cp27-cp27mu-linux_x86_64.whl is not a supported wheel on this platform.
我在使用 protobuf wheel 时遇到了同样的错误:
sudo -H pip install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/protobuf-3.0.0b2.post2-cp27-none-linux_x86_64.whl
protobuf-3.0.0b2.post2-cp27-none-linux_x86_64.whl is not a supported wheel on this platform.
最佳答案
会不会是你的 pip 过时了?试试 python -m pip install --upgrade pip
。
它也可能有助于检查 /home/ubuntu/.pip/pip.log
中的日志
关于tensorflow-1.0.1-cp27-cp27mu-linux_x86_64.whl 在此平台上不受支持,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42959629/
这让我难住了。你如何为 newtype Mu f = InF {outF :: f (Mu f)} 编写一个 Functor 实例 最佳答案 你不能。为了为某些 Functor c 定义一个实例 c
我按照这个答案访问了Sans-serif math with latex in matplotlib让我的 matplotlib 使用 Computer Modern Sans。效果非常好,只是我无法
.book-summary ol { counter-reset: item ; } .book-summary ol li { margin-left:10px; margin-top:
在 recursion-schemes 包定义了以下类型: newtype Fix f = Fix (f (Fix f)) newtype Mu f = Mu (forall a. (f a -> a
我正在尝试为 Wordpress MU 站点设置本地环境。 当我尝试使用默认的 apache/mysql 端口时。我收到错误 Error establishing database connectio
我在 wordpress 重定向中的重定向导致域更改时遇到了一些问题。 例子:网站 - noncdn.somedomain.comCDN 网址 - www.domain.com 当我打开没有尾部斜杠的
我正在尝试在我的 .htaccess 文件中编写规则,以在我的 Wordpress MU 网络中使用 www.mainsite.com 默认为 HTTPS://。对于所有其他子域,是否可以添加通配符
我正在使用 muParser解析数学表达式,我想向解析器添加一个函数,其实现将由类的非静态成员函数提供。此节选自an example program应该给出我想做什么的想法: struct MyCla
这很难解释,但基本上如果我按 3,它适用于我的所有外壳部件(开关)。我如何让值(value)每次都是新的。例如,如果我按 3,则会打印以下内容: Pasirinkite objekta ir jo m
我尝试编写 R 代码来查找 mu s.t. 的值。正态分布满足概率 P(N(mu, 1)>1.96)=0.95 (即 P(Z>1.96)=0.95 其中 Z~ N(mu, 1) 和 mu 是我想要得到
在服务总线基本版和标准版中,成本部分取决于操作数量。在服务总线高级层中,1 MU 每月可以处理多少次操作? 最佳答案 似乎没有一个明确的答案。借助 Service Bus Premium,每个 1 消
在服务总线基本版和标准版中,成本部分取决于操作数量。在服务总线高级层中,1 MU 每月可以处理多少次操作? 最佳答案 似乎没有一个明确的答案。借助 Service Bus Premium,每个 1 消
阅读后Milewski's F-algebra article ,我尝试实现它并用于解决现实世界的问题。但是,我似乎不知道如何为 Fix 编写实例, newtype Fix f = Fx { unFi
我正在尝试使用 NAudio 将 mu-law 编码音频解码为 pcm 音频。我的服务已发布原始 mu-law 编码音频字节,但我从 NAudio 收到错误,表明数据没有 RIFF header 。我
R 有一个 negative binomial function可以使用 mu 而不是概率(例如, float >= 0 和 <=1)进行参数化。我正在尝试复制此分布: rnbinom(1000,si
当我进行分析时,我可以看到一些带有 ms(毫秒)的数据,但我也看到了 μs。 JProfiler中的μs是什么意思? 最佳答案 表示微秒,即毫秒的 1/1000(1000 μs = 1 ms)。希腊字
我在安装 Wordpress 4.7 时使用 Loco Translate 翻译插件。 我的 MU-Plugin 已正确注册并正确配置以加载其文本域。 但 Loco Translate 只能识别主题和
我已将训练数据矩阵转换为 z-scores对于每一列。我对 zscore 的输出中的每一列都有 mu 和 sigma . 我还有另一个矩阵(我的测试数据),我想使用获得的 mu 和 sigma 将其转
我偶然发现了以下奇怪的情况: >>> class Test: µ = 'foo' >>> Test.µ 'foo' >>> getattr(Test, 'µ') Traceback (
我偶然发现了以下奇怪的情况: >>> class Test: µ = 'foo' >>> Test.µ 'foo' >>> getattr(Test, 'µ') Traceback (
我是一名优秀的程序员,十分优秀!