tensorflow 1.8 with python 3.6 in windows64












2















I am trying to install tensorflow 1.8 cpu version with python 3.6 on my windows 64 bit os. Anyone konw that whether the tensorflow 1.8 support python 3.6 in windows 64 bit system? The table here TF install guide didn't mention it. I had met the same problems bofore and it seems that the tensorflow version is too new for python 3.x to support on windows.



here are the issues:



Traceback (most recent call last):
File "D:python36libsite-packagestensorflowpythonpywrap_tensorflow_internal.py", line 14, in swig_import_helper
return importlib.import_module(mname)
File "D:python36libimportlib__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 994, in _gcd_import
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 658, in _load_unlocked
File "<frozen importlib._bootstrap>", line 571, in module_from_spec
File "<frozen importlib._bootstrap_external>", line 922, in create_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
ImportError: DLL load failed: 动态链接库(DLL)初始化例程失败。

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "D:python36libsite-packagestensorflowpythonpywrap_tensorflow.py", line 58, in <module>
from tensorflow.python.pywrap_tensorflow_internal import *
File "D:python36libsite-packagestensorflowpythonpywrap_tensorflow_internal.py", line 17, in <module>
_pywrap_tensorflow_internal = swig_import_helper()
File "D:python36libsite-packagestensorflowpythonpywrap_tensorflow_internal.py", line 16, in swig_import_helper
return importlib.import_module('_pywrap_tensorflow_internal')
File "D:python36libimportlib__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ModuleNotFoundError: No module named '_pywrap_tensorflow_internal'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "D:python36libsite-packagestensorflow__init__.py", line 24, in <module>
from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import
File "D:python36libsite-packagestensorflowpython__init__.py", line 49, in <module>
from tensorflow.python import pywrap_tensorflow
File "D:python36libsite-packagestensorflowpythonpywrap_tensorflow.py", line 74, in <module>
raise ImportError(msg)
ImportError: Traceback (most recent call last):
File "D:python36libsite-packagestensorflowpythonpywrap_tensorflow_internal.py", line 14, in swig_import_helper
return importlib.import_module(mname)
File "D:python36libimportlib__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 994, in _gcd_import
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 658, in _load_unlocked
File "<frozen importlib._bootstrap>", line 571, in module_from_spec
File "<frozen importlib._bootstrap_external>", line 922, in create_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
ImportError: DLL load failed: 动态链接库(DLL)初始化例程失败。

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "D:python36libsite-packagestensorflowpythonpywrap_tensorflow.py", line 58, in <module>
from tensorflow.python.pywrap_tensorflow_internal import *
File "D:python36libsite-packagestensorflowpythonpywrap_tensorflow_internal.py", line 17, in <module>
_pywrap_tensorflow_internal = swig_import_helper()
File "D:python36libsite-packagestensorflowpythonpywrap_tensorflow_internal.py", line 16, in swig_import_helper
return importlib.import_module('_pywrap_tensorflow_internal')
File "D:python36libimportlib__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ModuleNotFoundError: No module named '_pywrap_tensorflow_internal'


Failed to load the native TensorFlow runtime.

See https://www.tensorflow.org/install/install_sources#common_installation_problems

for some common reasons and solutions. Include the entire stack trace
above this error message when asking for help.









share|improve this question



























    2















    I am trying to install tensorflow 1.8 cpu version with python 3.6 on my windows 64 bit os. Anyone konw that whether the tensorflow 1.8 support python 3.6 in windows 64 bit system? The table here TF install guide didn't mention it. I had met the same problems bofore and it seems that the tensorflow version is too new for python 3.x to support on windows.



    here are the issues:



    Traceback (most recent call last):
    File "D:python36libsite-packagestensorflowpythonpywrap_tensorflow_internal.py", line 14, in swig_import_helper
    return importlib.import_module(mname)
    File "D:python36libimportlib__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
    File "<frozen importlib._bootstrap>", line 994, in _gcd_import
    File "<frozen importlib._bootstrap>", line 971, in _find_and_load
    File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
    File "<frozen importlib._bootstrap>", line 658, in _load_unlocked
    File "<frozen importlib._bootstrap>", line 571, in module_from_spec
    File "<frozen importlib._bootstrap_external>", line 922, in create_module
    File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
    ImportError: DLL load failed: 动态链接库(DLL)初始化例程失败。

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
    File "D:python36libsite-packagestensorflowpythonpywrap_tensorflow.py", line 58, in <module>
    from tensorflow.python.pywrap_tensorflow_internal import *
    File "D:python36libsite-packagestensorflowpythonpywrap_tensorflow_internal.py", line 17, in <module>
    _pywrap_tensorflow_internal = swig_import_helper()
    File "D:python36libsite-packagestensorflowpythonpywrap_tensorflow_internal.py", line 16, in swig_import_helper
    return importlib.import_module('_pywrap_tensorflow_internal')
    File "D:python36libimportlib__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
    ModuleNotFoundError: No module named '_pywrap_tensorflow_internal'

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
    File "D:python36libsite-packagestensorflow__init__.py", line 24, in <module>
    from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import
    File "D:python36libsite-packagestensorflowpython__init__.py", line 49, in <module>
    from tensorflow.python import pywrap_tensorflow
    File "D:python36libsite-packagestensorflowpythonpywrap_tensorflow.py", line 74, in <module>
    raise ImportError(msg)
    ImportError: Traceback (most recent call last):
    File "D:python36libsite-packagestensorflowpythonpywrap_tensorflow_internal.py", line 14, in swig_import_helper
    return importlib.import_module(mname)
    File "D:python36libimportlib__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
    File "<frozen importlib._bootstrap>", line 994, in _gcd_import
    File "<frozen importlib._bootstrap>", line 971, in _find_and_load
    File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
    File "<frozen importlib._bootstrap>", line 658, in _load_unlocked
    File "<frozen importlib._bootstrap>", line 571, in module_from_spec
    File "<frozen importlib._bootstrap_external>", line 922, in create_module
    File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
    ImportError: DLL load failed: 动态链接库(DLL)初始化例程失败。

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
    File "D:python36libsite-packagestensorflowpythonpywrap_tensorflow.py", line 58, in <module>
    from tensorflow.python.pywrap_tensorflow_internal import *
    File "D:python36libsite-packagestensorflowpythonpywrap_tensorflow_internal.py", line 17, in <module>
    _pywrap_tensorflow_internal = swig_import_helper()
    File "D:python36libsite-packagestensorflowpythonpywrap_tensorflow_internal.py", line 16, in swig_import_helper
    return importlib.import_module('_pywrap_tensorflow_internal')
    File "D:python36libimportlib__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
    ModuleNotFoundError: No module named '_pywrap_tensorflow_internal'


    Failed to load the native TensorFlow runtime.

    See https://www.tensorflow.org/install/install_sources#common_installation_problems

    for some common reasons and solutions. Include the entire stack trace
    above this error message when asking for help.









    share|improve this question

























      2












      2








      2








      I am trying to install tensorflow 1.8 cpu version with python 3.6 on my windows 64 bit os. Anyone konw that whether the tensorflow 1.8 support python 3.6 in windows 64 bit system? The table here TF install guide didn't mention it. I had met the same problems bofore and it seems that the tensorflow version is too new for python 3.x to support on windows.



      here are the issues:



      Traceback (most recent call last):
      File "D:python36libsite-packagestensorflowpythonpywrap_tensorflow_internal.py", line 14, in swig_import_helper
      return importlib.import_module(mname)
      File "D:python36libimportlib__init__.py", line 126, in import_module
      return _bootstrap._gcd_import(name[level:], package, level)
      File "<frozen importlib._bootstrap>", line 994, in _gcd_import
      File "<frozen importlib._bootstrap>", line 971, in _find_and_load
      File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
      File "<frozen importlib._bootstrap>", line 658, in _load_unlocked
      File "<frozen importlib._bootstrap>", line 571, in module_from_spec
      File "<frozen importlib._bootstrap_external>", line 922, in create_module
      File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
      ImportError: DLL load failed: 动态链接库(DLL)初始化例程失败。

      During handling of the above exception, another exception occurred:

      Traceback (most recent call last):
      File "D:python36libsite-packagestensorflowpythonpywrap_tensorflow.py", line 58, in <module>
      from tensorflow.python.pywrap_tensorflow_internal import *
      File "D:python36libsite-packagestensorflowpythonpywrap_tensorflow_internal.py", line 17, in <module>
      _pywrap_tensorflow_internal = swig_import_helper()
      File "D:python36libsite-packagestensorflowpythonpywrap_tensorflow_internal.py", line 16, in swig_import_helper
      return importlib.import_module('_pywrap_tensorflow_internal')
      File "D:python36libimportlib__init__.py", line 126, in import_module
      return _bootstrap._gcd_import(name[level:], package, level)
      ModuleNotFoundError: No module named '_pywrap_tensorflow_internal'

      During handling of the above exception, another exception occurred:

      Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
      File "D:python36libsite-packagestensorflow__init__.py", line 24, in <module>
      from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import
      File "D:python36libsite-packagestensorflowpython__init__.py", line 49, in <module>
      from tensorflow.python import pywrap_tensorflow
      File "D:python36libsite-packagestensorflowpythonpywrap_tensorflow.py", line 74, in <module>
      raise ImportError(msg)
      ImportError: Traceback (most recent call last):
      File "D:python36libsite-packagestensorflowpythonpywrap_tensorflow_internal.py", line 14, in swig_import_helper
      return importlib.import_module(mname)
      File "D:python36libimportlib__init__.py", line 126, in import_module
      return _bootstrap._gcd_import(name[level:], package, level)
      File "<frozen importlib._bootstrap>", line 994, in _gcd_import
      File "<frozen importlib._bootstrap>", line 971, in _find_and_load
      File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
      File "<frozen importlib._bootstrap>", line 658, in _load_unlocked
      File "<frozen importlib._bootstrap>", line 571, in module_from_spec
      File "<frozen importlib._bootstrap_external>", line 922, in create_module
      File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
      ImportError: DLL load failed: 动态链接库(DLL)初始化例程失败。

      During handling of the above exception, another exception occurred:

      Traceback (most recent call last):
      File "D:python36libsite-packagestensorflowpythonpywrap_tensorflow.py", line 58, in <module>
      from tensorflow.python.pywrap_tensorflow_internal import *
      File "D:python36libsite-packagestensorflowpythonpywrap_tensorflow_internal.py", line 17, in <module>
      _pywrap_tensorflow_internal = swig_import_helper()
      File "D:python36libsite-packagestensorflowpythonpywrap_tensorflow_internal.py", line 16, in swig_import_helper
      return importlib.import_module('_pywrap_tensorflow_internal')
      File "D:python36libimportlib__init__.py", line 126, in import_module
      return _bootstrap._gcd_import(name[level:], package, level)
      ModuleNotFoundError: No module named '_pywrap_tensorflow_internal'


      Failed to load the native TensorFlow runtime.

      See https://www.tensorflow.org/install/install_sources#common_installation_problems

      for some common reasons and solutions. Include the entire stack trace
      above this error message when asking for help.









      share|improve this question














      I am trying to install tensorflow 1.8 cpu version with python 3.6 on my windows 64 bit os. Anyone konw that whether the tensorflow 1.8 support python 3.6 in windows 64 bit system? The table here TF install guide didn't mention it. I had met the same problems bofore and it seems that the tensorflow version is too new for python 3.x to support on windows.



      here are the issues:



      Traceback (most recent call last):
      File "D:python36libsite-packagestensorflowpythonpywrap_tensorflow_internal.py", line 14, in swig_import_helper
      return importlib.import_module(mname)
      File "D:python36libimportlib__init__.py", line 126, in import_module
      return _bootstrap._gcd_import(name[level:], package, level)
      File "<frozen importlib._bootstrap>", line 994, in _gcd_import
      File "<frozen importlib._bootstrap>", line 971, in _find_and_load
      File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
      File "<frozen importlib._bootstrap>", line 658, in _load_unlocked
      File "<frozen importlib._bootstrap>", line 571, in module_from_spec
      File "<frozen importlib._bootstrap_external>", line 922, in create_module
      File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
      ImportError: DLL load failed: 动态链接库(DLL)初始化例程失败。

      During handling of the above exception, another exception occurred:

      Traceback (most recent call last):
      File "D:python36libsite-packagestensorflowpythonpywrap_tensorflow.py", line 58, in <module>
      from tensorflow.python.pywrap_tensorflow_internal import *
      File "D:python36libsite-packagestensorflowpythonpywrap_tensorflow_internal.py", line 17, in <module>
      _pywrap_tensorflow_internal = swig_import_helper()
      File "D:python36libsite-packagestensorflowpythonpywrap_tensorflow_internal.py", line 16, in swig_import_helper
      return importlib.import_module('_pywrap_tensorflow_internal')
      File "D:python36libimportlib__init__.py", line 126, in import_module
      return _bootstrap._gcd_import(name[level:], package, level)
      ModuleNotFoundError: No module named '_pywrap_tensorflow_internal'

      During handling of the above exception, another exception occurred:

      Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
      File "D:python36libsite-packagestensorflow__init__.py", line 24, in <module>
      from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import
      File "D:python36libsite-packagestensorflowpython__init__.py", line 49, in <module>
      from tensorflow.python import pywrap_tensorflow
      File "D:python36libsite-packagestensorflowpythonpywrap_tensorflow.py", line 74, in <module>
      raise ImportError(msg)
      ImportError: Traceback (most recent call last):
      File "D:python36libsite-packagestensorflowpythonpywrap_tensorflow_internal.py", line 14, in swig_import_helper
      return importlib.import_module(mname)
      File "D:python36libimportlib__init__.py", line 126, in import_module
      return _bootstrap._gcd_import(name[level:], package, level)
      File "<frozen importlib._bootstrap>", line 994, in _gcd_import
      File "<frozen importlib._bootstrap>", line 971, in _find_and_load
      File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
      File "<frozen importlib._bootstrap>", line 658, in _load_unlocked
      File "<frozen importlib._bootstrap>", line 571, in module_from_spec
      File "<frozen importlib._bootstrap_external>", line 922, in create_module
      File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
      ImportError: DLL load failed: 动态链接库(DLL)初始化例程失败。

      During handling of the above exception, another exception occurred:

      Traceback (most recent call last):
      File "D:python36libsite-packagestensorflowpythonpywrap_tensorflow.py", line 58, in <module>
      from tensorflow.python.pywrap_tensorflow_internal import *
      File "D:python36libsite-packagestensorflowpythonpywrap_tensorflow_internal.py", line 17, in <module>
      _pywrap_tensorflow_internal = swig_import_helper()
      File "D:python36libsite-packagestensorflowpythonpywrap_tensorflow_internal.py", line 16, in swig_import_helper
      return importlib.import_module('_pywrap_tensorflow_internal')
      File "D:python36libimportlib__init__.py", line 126, in import_module
      return _bootstrap._gcd_import(name[level:], package, level)
      ModuleNotFoundError: No module named '_pywrap_tensorflow_internal'


      Failed to load the native TensorFlow runtime.

      See https://www.tensorflow.org/install/install_sources#common_installation_problems

      for some common reasons and solutions. Include the entire stack trace
      above this error message when asking for help.






      python-3.x windows tensorflow






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 26 '18 at 11:14









      JinSheng SunJinSheng Sun

      213




      213
























          1 Answer
          1






          active

          oldest

          votes


















          1














          Tragedy. It turns out that my computer with a Intel(R) Celeron(R) cpu N2940 and it doesn't support AVX instructions. TF version >= 1.6 will need AVX. That's it.






          share|improve this answer























            Your Answer






            StackExchange.ifUsing("editor", function () {
            StackExchange.using("externalEditor", function () {
            StackExchange.using("snippets", function () {
            StackExchange.snippets.init();
            });
            });
            }, "code-snippets");

            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "1"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53479930%2ftensorflow-1-8-with-python-3-6-in-windows64%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            1














            Tragedy. It turns out that my computer with a Intel(R) Celeron(R) cpu N2940 and it doesn't support AVX instructions. TF version >= 1.6 will need AVX. That's it.






            share|improve this answer




























              1














              Tragedy. It turns out that my computer with a Intel(R) Celeron(R) cpu N2940 and it doesn't support AVX instructions. TF version >= 1.6 will need AVX. That's it.






              share|improve this answer


























                1












                1








                1







                Tragedy. It turns out that my computer with a Intel(R) Celeron(R) cpu N2940 and it doesn't support AVX instructions. TF version >= 1.6 will need AVX. That's it.






                share|improve this answer













                Tragedy. It turns out that my computer with a Intel(R) Celeron(R) cpu N2940 and it doesn't support AVX instructions. TF version >= 1.6 will need AVX. That's it.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Nov 26 '18 at 11:45









                JinSheng SunJinSheng Sun

                213




                213
































                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Stack Overflow!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53479930%2ftensorflow-1-8-with-python-3-6-in-windows64%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Contact image not getting when fetch all contact list from iPhone by CNContact

                    count number of partitions of a set with n elements into k subsets

                    A CLEAN and SIMPLE way to add appendices to Table of Contents and bookmarks