我尝试从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从源代码安装而不是二进制轮子吗?
arch
命令的结果。它很可能不是x86_64
。 - Nepho