【发布时间】:2018-04-23 19:49:39
【问题描述】:
我尝试从 pip 安装:
pip3 install --user --no-cache https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.4.0-cp36-cp36m-linux_x86_64.whl
然后尝试导入并得到:
Using TensorFlow backend.
/usr/lib64/python3.6/importlib/_bootstrap.py:205: RuntimeWarning:
compiletime version 3.5 of module
'tensorflow.python.framework.fast_tensor_util' does not match runtime
version 3.6
return f(*args, **kwds)
2017-11-10 09:35:01.206112: I
tensorflow/core/platform/cpu_feature_guard.cc:137] Your CPU supports
instructions that this TensorFlow binary was not compiled to use: SSE4.1
SSE4.2 AVX
问题:
我不明白为什么车轮显示 3.6,但我收到有关 3.5 的警告
我想编译以优化我的 cpu,所以我可以使用 pip 从源代码而不是二进制轮安装吗?
【问题讨论】:
-
在 shell 中发布
arch命令的结果。很可能不是x86_64。 -
是的,arch 说 x86_64,这不是这里的问题。
标签: python linux python-3.x tensorflow pip