tensorflow: RuntimeWarning: compiletime version 3.4 of module 'tensorflow.python.framework.fast_tensor_util' does not match runtime version 3.5; uiltins.type size changed, may indicate binary incompatibility. Expected 432, got 412

Please make sure that this is a bug. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:bug_template

System information

  • Have I written custom code (as opposed to using a stock example script provided in TensorFlow): No
  • OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Raspbian 9
  • Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
  • TensorFlow installed from (source or binary): binary, I think? (pip installed)
  • TensorFlow version (use command below): 1.11.0
  • Python version: 3.5.3
  • Bazel version (if compiling from source): N/A
  • GCC/Compiler version (if compiling from source): N/A
  • CUDA/cuDNN version: N/A, no GPU
  • GPU model and memory: N/A, no GPU

You can collect some of this information using our environment capture script You can also obtain the TensorFlow version with python -c “import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)”

Describe the current behavior As you know with the title, when I import tensorflow in shell window, I get a warning. (See code) Describe the expected behavior I recently saw some issues, and they says that it is OK to use tensorflow with this. But my question is: how can I get rid of this? Code to reproduce the issue Provide a reproducible test case that is the bare minimum necessary to generate the problem.


>>> import tensorflow as tf

Warning (from warnings module):
  File "/usr/lib/python3.5/importlib/_bootstrap.py", line 222
    return f(*args, **kwds)
RuntimeWarning: compiletime version 3.4 of module 'tensorflow.python.framework.fast_tensor_util' does not match runtime version 3.5

Warning (from warnings module):
  File "/usr/lib/python3.5/importlib/_bootstrap.py", line 222
    return f(*args, **kwds)
RuntimeWarning: builtins.type size changed, may indicate binary incompatibility. Expected 432, got 412
>>> 

Other info / logs Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 17 (1 by maintainers)

Most upvoted comments

This issue still persists as of April 7, 2019. I installed Raspbian and then followed the instructions as per Tensorflow installation guide. Then, I got this error message.