Skip to content

RuntimeWarning: compiletime version 3.5 of module 'tensorflow.python.framework.fast_tensor_util' does not match runtime version 3.6 #14273

Closed
@stnatter

Description

@stnatter

Please go to Stack Overflow for help and support:

https://stackoverflow.com/questions/tagged/tensorflow

If you open a GitHub issue, here is our policy:

  1. It must be a bug or a feature request.
  2. The form below must be filled out.
  3. It shouldn't be a TensorBoard issue. Those go here.

Here's why we have that policy: TensorFlow developers respond to issues. We want to focus on work that benefits the whole community, e.g., fixing bugs and adding features. Support only helps individuals. GitHub also notifies thousands of people when issues are filed. We want them to see you communicating an interesting problem, rather than being redirected to Stack Overflow.


System information

  • Have I written custom code (as opposed to using a stock example script provided in TensorFlow):
  • OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
    macOS High Sierra 10.13.1
  • TensorFlow installed from (source or binary):
    pip3 install tensor flow
  • TensorFlow version (use command below):
    1.4.0
  • Python version:
    3.6.3
  • Bazel version (if compiling from source):
  • GCC/Compiler version (if compiling from source):
    GCC: stable 7.2.0
  • CUDA/cuDNN version:
  • GPU model and memory:
  • Exact command to reproduce:
    python3 -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"

You can collect some of this information using our environment capture script:

https://github.com/tensorflow/tensorflow/tree/master/tools/tf_env_collect.sh

You can obtain the TensorFlow version with

python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"

Describe the problem

Error after install Tensorflow:

python3 -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"

/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/importlib/_bootstrap.py:219: RuntimeWarning: compiletime version 3.5 of module 'tensorflow.python.framework.fast_tensor_util' does not match runtime version 3.6
return f(*args, **kwds)
v1.4.0-rc1-11-g130a514 1.4.0

getting this and ONE MORE error when running:
python3 -c "import keras; print (keras.version)"
Using TensorFlow backend.
/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/importlib/_bootstrap.py:219: 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-06 15:12:09.361728: 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 AVX2 FMA
2.0.9

Source code / 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. Try to provide a reproducible test case that is the bare minimum necessary to generate the problem.

Activity

asimshankar

asimshankar commented on Nov 6, 2017

@asimshankar
Contributor

Closing this as a duplicate of #14182

theminingengineer

theminingengineer commented on Nov 12, 2017

@theminingengineer

HI, am having the same issue.... any one with a solution?

pabs-lop

pabs-lop commented on Nov 14, 2017

@pabs-lop

I am also having the same problem:

Using TensorFlow backend.
/Users/Create/.pyenv/versions/3.6.3/lib/python3.6/importlib/_bootstrap.py:219: RuntimeWarning: compiletime version 3.5 of module 'tensorflow.python.framework.fast_tensor_util' does not match runtime version 3.6
return f(*args, **kwds)

stnatter

stnatter commented on Nov 14, 2017

@stnatter
Author
pabs-lop

pabs-lop commented on Nov 16, 2017

@pabs-lop

Thank you! @SteffenNa

elfxwt

elfxwt commented on Nov 29, 2017

@elfxwt

I have met the same issue with python3 in virtualenv

vkumarcisco

vkumarcisco commented on Dec 1, 2017

@vkumarcisco

Thank you @SteffenNa

drewszurko

drewszurko commented on Dec 8, 2017

@drewszurko
Contributor

Thanks @SteffenNa

For anyone else, the "macOS Sierra" build worked on my macOS High Sierra 10.13.1

sshadmand

sshadmand commented on Dec 16, 2017

@sshadmand

+1 to @drewszurko and @SteffenNa

Better to use Sierra (1.4.0) on High Sierra than what is marked High Sierra (1.4.1):

pip install --ignore-installed --upgrade "https://github.com/lakshayg/tensorflow-build/raw/master/tensorflow-1.4.0-cp36-cp36m-macosx_10_12_x86_64.whl"

cloudtrends

cloudtrends commented on Dec 26, 2017

@cloudtrends

Thank you! @SteffenNa

erickrf

erickrf commented on Dec 27, 2017

@erickrf

@sshadmand I installed the High Sierra build on High Sierra with no problems (running macOS version 10.13.2)

brifordwylie

brifordwylie commented on Dec 27, 2017

@brifordwylie

@SteffenNa suggestion is the solution (at least for me). Just go to https://github.com/lakshayg/tensorflow-build click on the on wheel you want and then on the download button right click and copy link address and paste into your pip line... e.g.

$  pip install --upgrade https://github.com/lakshayg/tensorflow-build/raw/master/tensorflow-1.4.1-cp36-cp36m-macosx_10_13_x86_64.whl

Worked great and fixed the warning about mismatched version.

theminingengineer

theminingengineer commented on Dec 27, 2017

@theminingengineer

23 remaining items

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @asimshankar@sshadmand@erickrf@benedictchen@rakshitsareen

        Issue actions

          RuntimeWarning: compiletime version 3.5 of module 'tensorflow.python.framework.fast_tensor_util' does not match runtime version 3.6 · Issue #14273 · tensorflow/tensorflow