TensorFlow 利用 GitHub 问题系统和 Stack Overflow 跟踪及记录构建与安装问题。
以下列表将错误消息关联到了相应的解决方案或讨论内容。如果您遇到任何未在此处列出的安装或构建问题,请在 GitHub 问题系统和 Stack Overflow 中进行搜索。如果仍未找到该错误消息,请在 Stack Overflow 上提出新问题,并使用 tensorflow
标签。
GitHub 问题或 Stack Overflow | 错误消息 |
---|---|
38896424 31058 | "No matching distribution found for tensorflow":Pip 找不到与您的系统兼容的 TensorFlow 软件包。请检查系统要求和 Python 版本 |
22390 | Unzipping simple_console_for_windows.zip to create runfiles tree... [./bazel-bin/tensorflow/tools/pip_package/simple_console_for_windows.zip] End-of-central-directory signature not found. Either this file is not a zipfile, or it constitutes one disk of a multi-part archive. In the latter case the central directory and zipfile comment will be found on the last disk(s) of this archive. unzip: cannot find zipfile directory in one of ./bazel-bin/tensorflow/tools/pip_package/simple_console_for_windows.zip or ./bazel-bin/tensorflow/tools/pip_package/simple_console_for_windows.zip.zip, and cannot find ./bazel-bin/tensorflow/tools/pip_package/simple_console_for_windows.zip.ZIP, period. |
36159194 | ImportError: libcudart.so.Version: cannot open shared object file: No such file or directory |
41991101 | ImportError: libcudnn.Version: cannot open shared object file: No such file or directory |
36371137 以及此处 | libprotobuf ERROR google/protobuf/src/google/protobuf/io/coded_stream.cc:207] A protocol message was rejected because it was too big (more than 67108864 bytes). To increase the limit (or to disable these warnings), see CodedInputStream::SetTotalBytesLimit() in google/protobuf/io/coded_stream.h. |
35252888 | Error importing tensorflow. Unless you are using bazel, you should not try to import tensorflow from its source directory; please exit the tensorflow source tree, and relaunch your python interpreter from there. |
33623453 | IOError: [Errno 2] No such file or directory: '/tmp/pip-o6Tpui-build/setup.py' |
42006320 | ImportError: Traceback (most recent call last): File ".../tensorflow/core/framework/graph_pb2.py", line 6, in |
35190574 | SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed |
42009190 | Installing collected packages: setuptools, protobuf, wheel, numpy, tensorflow Found existing installation: setuptools 1.1.6 Uninstalling setuptools-1.1.6: Exception: ... [Errno 1] Operation not permitted: '/tmp/pip-a1DXRT-uninstall/.../lib/python/_markerlib' |
36933958 | ... Installing collected packages: setuptools, protobuf, wheel, numpy, tensorflow Found existing installation: setuptools 1.1.6 Uninstalling setuptools-1.1.6: Exception: ... [Errno 1] Operation not permitted: '/tmp/pip-a1DXRT-uninstall/System/Library/Frameworks/Python.framework/ Versions/2.7/Extras/lib/python/_markerlib' |
42006320 | ImportError: Traceback (most recent call last): File ".../tensorflow/core/framework/graph_pb2.py", line 6, in |
33623453 | IOError: [Errno 2] No such file or directory: '/tmp/pip-o6Tpui-build/setup.py' |
35190574 | SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed |
42009190 | Installing collected packages: setuptools, protobuf, wheel, numpy, tensorflow Found existing installation: setuptools 1.1.6 Uninstalling setuptools-1.1.6: Exception: ... [Errno 1] Operation not permitted: '/tmp/pip-a1DXRT-uninstall/.../lib/python/_markerlib' |
33622019 | ImportError: No module named copyreg |
37810228 | 在 pip install 操作过程中,系统返回了如下错误:
OSError: [Errno 1] Operation not permitted |
33622842 | import tensorflow 语句触发了如下错误:Traceback (most recent call last): File " |
42075397 | pip install 命令触发了以下错误:
... |
41007279 |
[...\stream_executor\dso_loader.cc] Couldn't open CUDA library nvcuda.dll |
41007279 |
[...\stream_executor\cuda\cuda_dnn.cc] Unable to load cuDNN DSO |
42006320 | ImportError: Traceback (most recent call last): File "...\tensorflow\core\framework\graph_pb2.py", line 6, in |
42011070 | No module named "pywrap_tensorflow" |
42217532 |
OpKernel ('op: "BestSplits" device_type: "CPU"') for unknown op: BestSplits |
43134753 |
The TensorFlow library wasn't compiled to use SSE instructions |
38896424 |
Could not find a version that satisfies the requirement tensorflow |
42006320 | ImportError: Traceback (most recent call last): File ".../tensorflow/core/framework/graph_pb2.py", line 6, in |
33623453 | IOError: [Errno 2] No such file or directory: '/tmp/pip-o6Tpui-build/setup.py' |
35190574 | SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed |
42009190 | Installing collected packages: setuptools, protobuf, wheel, numpy, tensorflow Found existing installation: setuptools 1.1.6 Uninstalling setuptools-1.1.6: Exception: ... [Errno 1] Operation not permitted: '/tmp/pip-a1DXRT-uninstall/.../lib/python/_markerlib' |
33622019 | ImportError: No module named copyreg |
37810228 | 在 pip install 操作过程中,系统返回了如下错误:
OSError: [Errno 1] Operation not permitted |
33622842 | import tensorflow 语句触发了如下错误:Traceback (most recent call last): File " |
41293077 | W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.1 instructions, but these are available on your machine and could speed up CPU computations. |
42013316 | ImportError: libcudart.so.8.0: cannot open shared object file: No such file or directory |
42013316 | ImportError: libcudnn.5: cannot open shared object file: No such file or directory |
35953210 | 调用“python”或“ipython”产生了以下错误:
ImportError: cannot import name pywrap_tensorflow |
45276830 | external/local_config_cc/BUILD:50:5: in apple_cc_toolchain rule @local_config_cc//:cc-compiler-darwin_x86_64: Xcode version must be specified to use an Apple CROSSTOOL. |
47080760 | undefined reference to `cublasGemmEx@libcublas.so.9.0' |
22512 | ModuleNotFoundError: No module named 'tensorflow.python._pywrap_tensorflow_internal' |
22512、22794 | ImportError: DLL load failed: The specified module could not be found. |
24835 | Could not install packages due to an EnvironmentError: [Errno 2] No such file or directory: [long path name] |