Import tensorflow error: DLL load failed: The specified procedure could not be found











up vote
0
down vote

favorite












import tensorflow


When i try to import tensorflow and run the code I get this error:



Traceback (most recent call last):
File "C:/Users/Ivan/PycharmProjects/AI_Numers/script.py", line 1, in <module>
import tensorflow
File "C:UsersIvanPycharmProjectsAI_Numersvenvlibsite-packagestensorflow__init__.py", line 24, in <module>
from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import
File "C:UsersIvanPycharmProjectsAI_Numersvenvlibsite-packagestensorflowpython__init__.py", line 59, in <module>
from tensorflow.core.framework.graph_pb2 import *
File "C:UsersIvanPycharmProjectsAI_Numersvenvlibsite-packagestensorflowcoreframeworkgraph_pb2.py", line 6, in <module>
from google.protobuf import descriptor as _descriptor
File "C:UsersIvanPycharmProjectsAI_Numersvenvlibsite-packagesgoogleprotobufdescriptor.py", line 47, in <module>
from google.protobuf.pyext import _message
ImportError: DLL load failed: The specified procedure could not be found.`


I am currently using:
Python: 3.6.0
Tensorflow: 1.12



I've already looked at this thread, but I could not fix my problem.










share|improve this question




























    up vote
    0
    down vote

    favorite












    import tensorflow


    When i try to import tensorflow and run the code I get this error:



    Traceback (most recent call last):
    File "C:/Users/Ivan/PycharmProjects/AI_Numers/script.py", line 1, in <module>
    import tensorflow
    File "C:UsersIvanPycharmProjectsAI_Numersvenvlibsite-packagestensorflow__init__.py", line 24, in <module>
    from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import
    File "C:UsersIvanPycharmProjectsAI_Numersvenvlibsite-packagestensorflowpython__init__.py", line 59, in <module>
    from tensorflow.core.framework.graph_pb2 import *
    File "C:UsersIvanPycharmProjectsAI_Numersvenvlibsite-packagestensorflowcoreframeworkgraph_pb2.py", line 6, in <module>
    from google.protobuf import descriptor as _descriptor
    File "C:UsersIvanPycharmProjectsAI_Numersvenvlibsite-packagesgoogleprotobufdescriptor.py", line 47, in <module>
    from google.protobuf.pyext import _message
    ImportError: DLL load failed: The specified procedure could not be found.`


    I am currently using:
    Python: 3.6.0
    Tensorflow: 1.12



    I've already looked at this thread, but I could not fix my problem.










    share|improve this question


























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      import tensorflow


      When i try to import tensorflow and run the code I get this error:



      Traceback (most recent call last):
      File "C:/Users/Ivan/PycharmProjects/AI_Numers/script.py", line 1, in <module>
      import tensorflow
      File "C:UsersIvanPycharmProjectsAI_Numersvenvlibsite-packagestensorflow__init__.py", line 24, in <module>
      from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import
      File "C:UsersIvanPycharmProjectsAI_Numersvenvlibsite-packagestensorflowpython__init__.py", line 59, in <module>
      from tensorflow.core.framework.graph_pb2 import *
      File "C:UsersIvanPycharmProjectsAI_Numersvenvlibsite-packagestensorflowcoreframeworkgraph_pb2.py", line 6, in <module>
      from google.protobuf import descriptor as _descriptor
      File "C:UsersIvanPycharmProjectsAI_Numersvenvlibsite-packagesgoogleprotobufdescriptor.py", line 47, in <module>
      from google.protobuf.pyext import _message
      ImportError: DLL load failed: The specified procedure could not be found.`


      I am currently using:
      Python: 3.6.0
      Tensorflow: 1.12



      I've already looked at this thread, but I could not fix my problem.










      share|improve this question















      import tensorflow


      When i try to import tensorflow and run the code I get this error:



      Traceback (most recent call last):
      File "C:/Users/Ivan/PycharmProjects/AI_Numers/script.py", line 1, in <module>
      import tensorflow
      File "C:UsersIvanPycharmProjectsAI_Numersvenvlibsite-packagestensorflow__init__.py", line 24, in <module>
      from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import
      File "C:UsersIvanPycharmProjectsAI_Numersvenvlibsite-packagestensorflowpython__init__.py", line 59, in <module>
      from tensorflow.core.framework.graph_pb2 import *
      File "C:UsersIvanPycharmProjectsAI_Numersvenvlibsite-packagestensorflowcoreframeworkgraph_pb2.py", line 6, in <module>
      from google.protobuf import descriptor as _descriptor
      File "C:UsersIvanPycharmProjectsAI_Numersvenvlibsite-packagesgoogleprotobufdescriptor.py", line 47, in <module>
      from google.protobuf.pyext import _message
      ImportError: DLL load failed: The specified procedure could not be found.`


      I am currently using:
      Python: 3.6.0
      Tensorflow: 1.12



      I've already looked at this thread, but I could not fix my problem.







      python tensorflow






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 12 at 4:55









      Brokkoli 71

      285




      285










      asked Nov 11 at 19:45









      Ivan Valentini

      82




      82
























          2 Answers
          2






          active

          oldest

          votes

















          up vote
          0
          down vote



          accepted










          It seems some backward compatibility issues on the library called protobuf. You can use this. But I would recommend a fresh install of python 3.6.6 with anaconda or miniconda and use conda to install tensorflow.






          share|improve this answer




























            up vote
            0
            down vote













            Maybe this or this could help you. Many people had problems coused by DLL load failed. Also tensorflow is providing a list with possible errors






            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',
              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%2f53252529%2fimport-tensorflow-error-dll-load-failed-the-specified-procedure-could-not-be-f%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes








              up vote
              0
              down vote



              accepted










              It seems some backward compatibility issues on the library called protobuf. You can use this. But I would recommend a fresh install of python 3.6.6 with anaconda or miniconda and use conda to install tensorflow.






              share|improve this answer

























                up vote
                0
                down vote



                accepted










                It seems some backward compatibility issues on the library called protobuf. You can use this. But I would recommend a fresh install of python 3.6.6 with anaconda or miniconda and use conda to install tensorflow.






                share|improve this answer























                  up vote
                  0
                  down vote



                  accepted







                  up vote
                  0
                  down vote



                  accepted






                  It seems some backward compatibility issues on the library called protobuf. You can use this. But I would recommend a fresh install of python 3.6.6 with anaconda or miniconda and use conda to install tensorflow.






                  share|improve this answer












                  It seems some backward compatibility issues on the library called protobuf. You can use this. But I would recommend a fresh install of python 3.6.6 with anaconda or miniconda and use conda to install tensorflow.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Nov 11 at 19:52









                  EBIN JOSEPH

                  161




                  161
























                      up vote
                      0
                      down vote













                      Maybe this or this could help you. Many people had problems coused by DLL load failed. Also tensorflow is providing a list with possible errors






                      share|improve this answer

























                        up vote
                        0
                        down vote













                        Maybe this or this could help you. Many people had problems coused by DLL load failed. Also tensorflow is providing a list with possible errors






                        share|improve this answer























                          up vote
                          0
                          down vote










                          up vote
                          0
                          down vote









                          Maybe this or this could help you. Many people had problems coused by DLL load failed. Also tensorflow is providing a list with possible errors






                          share|improve this answer












                          Maybe this or this could help you. Many people had problems coused by DLL load failed. Also tensorflow is providing a list with possible errors







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Nov 11 at 19:53









                          Brokkoli 71

                          285




                          285






























                              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.





                              Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                              Please pay close attention to the following guidance:


                              • 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%2f53252529%2fimport-tensorflow-error-dll-load-failed-the-specified-procedure-could-not-be-f%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

                              The Sandy Post

                              Danny Elfman

                              Pages that link to "Head v. Amoskeag Manufacturing Co."