Getting the error “DLL load failed: The specified module could not be found.” while trying to import...












0















I'm using windows 10 x64
Anaconda 2018.12.0.0
Python 3.6



I can't figure out the problem. I've tried reinstalling numpy but still nothing.



Below is the complete error I'm getting in the PYcharm



Traceback (most recent call last):
File "C:ProgramDataAnaconda3envstf-1_9-36libsite-packagesnumpycore__init__.py", line 16, in
from . import multiarray
File "C:ProgramDataAnaconda3envstf-1_9-36libsite-packagesnumpycoremultiarray.py", line 12, in
from . import overrides
File "C:ProgramDataAnaconda3envstf-1_9-36libsite-packagesnumpycoreoverrides.py", line 6, in
from numpy.core._multiarray_umath import (
ImportError: DLL load failed: The specified module could not be found.



During handling of the above exception, another exception occurred:



Traceback (most recent call last):
File "C:/Users/ismae/PycharmProjects/Test1/first", line 1, in
import tensorflow as tf
File "C:ProgramDataAnaconda3envstf-1_9-36libsite-packagestensorflow__init__.py", line 24, in
from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import
File "C:ProgramDataAnaconda3envstf-1_9-36libsite-packagestensorflowpython__init__.py", line 47, in
import numpy as np
File "C:ProgramDataAnaconda3envstf-1_9-36libsite-packagesnumpy__init__.py", line 142, in
from . import core
File "C:ProgramDataAnaconda3envstf-1_9-36libsite-packagesnumpycore__init__.py", line 47, in
raise ImportError(msg)
ImportError:



IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!



Importing the multiarray numpy extension module failed. Most
likely you are trying to import a failed build of numpy.
Here is how to proceed:
- If you're working with a numpy git repository, try git clean -xdf
(removes all files not under version control) and rebuild numpy.
- If you are simply trying to use the numpy version that you have installed:
your installation is broken - please reinstall numpy.
- If you have already reinstalled and that did not fix the problem, then:
1. Check that you are using the Python you expect (you're using C:ProgramDataAnaconda3envstf-1_9-36python.exe),
and that you have no directories in your PATH or PYTHONPATH that can
interfere with the Python and numpy versions you're trying to use.
2. If (1) looks fine, you can open a new issue at
https://github.com/numpy/numpy/issues. Please include details on:
- how you installed Python
- how you installed numpy
- your operating system
- whether or not you have multiple versions of Python installed
- if you built from source, your compiler versions and ideally a build log



 Note: this error has many possible causes, so please don't comment on
an existing issue about this - open a new one instead.


Original error was: DLL load failed: The specified module could not be found.



Thanks!










share|improve this question



























    0















    I'm using windows 10 x64
    Anaconda 2018.12.0.0
    Python 3.6



    I can't figure out the problem. I've tried reinstalling numpy but still nothing.



    Below is the complete error I'm getting in the PYcharm



    Traceback (most recent call last):
    File "C:ProgramDataAnaconda3envstf-1_9-36libsite-packagesnumpycore__init__.py", line 16, in
    from . import multiarray
    File "C:ProgramDataAnaconda3envstf-1_9-36libsite-packagesnumpycoremultiarray.py", line 12, in
    from . import overrides
    File "C:ProgramDataAnaconda3envstf-1_9-36libsite-packagesnumpycoreoverrides.py", line 6, in
    from numpy.core._multiarray_umath import (
    ImportError: DLL load failed: The specified module could not be found.



    During handling of the above exception, another exception occurred:



    Traceback (most recent call last):
    File "C:/Users/ismae/PycharmProjects/Test1/first", line 1, in
    import tensorflow as tf
    File "C:ProgramDataAnaconda3envstf-1_9-36libsite-packagestensorflow__init__.py", line 24, in
    from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import
    File "C:ProgramDataAnaconda3envstf-1_9-36libsite-packagestensorflowpython__init__.py", line 47, in
    import numpy as np
    File "C:ProgramDataAnaconda3envstf-1_9-36libsite-packagesnumpy__init__.py", line 142, in
    from . import core
    File "C:ProgramDataAnaconda3envstf-1_9-36libsite-packagesnumpycore__init__.py", line 47, in
    raise ImportError(msg)
    ImportError:



    IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!



    Importing the multiarray numpy extension module failed. Most
    likely you are trying to import a failed build of numpy.
    Here is how to proceed:
    - If you're working with a numpy git repository, try git clean -xdf
    (removes all files not under version control) and rebuild numpy.
    - If you are simply trying to use the numpy version that you have installed:
    your installation is broken - please reinstall numpy.
    - If you have already reinstalled and that did not fix the problem, then:
    1. Check that you are using the Python you expect (you're using C:ProgramDataAnaconda3envstf-1_9-36python.exe),
    and that you have no directories in your PATH or PYTHONPATH that can
    interfere with the Python and numpy versions you're trying to use.
    2. If (1) looks fine, you can open a new issue at
    https://github.com/numpy/numpy/issues. Please include details on:
    - how you installed Python
    - how you installed numpy
    - your operating system
    - whether or not you have multiple versions of Python installed
    - if you built from source, your compiler versions and ideally a build log



     Note: this error has many possible causes, so please don't comment on
    an existing issue about this - open a new one instead.


    Original error was: DLL load failed: The specified module could not be found.



    Thanks!










    share|improve this question

























      0












      0








      0








      I'm using windows 10 x64
      Anaconda 2018.12.0.0
      Python 3.6



      I can't figure out the problem. I've tried reinstalling numpy but still nothing.



      Below is the complete error I'm getting in the PYcharm



      Traceback (most recent call last):
      File "C:ProgramDataAnaconda3envstf-1_9-36libsite-packagesnumpycore__init__.py", line 16, in
      from . import multiarray
      File "C:ProgramDataAnaconda3envstf-1_9-36libsite-packagesnumpycoremultiarray.py", line 12, in
      from . import overrides
      File "C:ProgramDataAnaconda3envstf-1_9-36libsite-packagesnumpycoreoverrides.py", line 6, in
      from numpy.core._multiarray_umath import (
      ImportError: DLL load failed: The specified module could not be found.



      During handling of the above exception, another exception occurred:



      Traceback (most recent call last):
      File "C:/Users/ismae/PycharmProjects/Test1/first", line 1, in
      import tensorflow as tf
      File "C:ProgramDataAnaconda3envstf-1_9-36libsite-packagestensorflow__init__.py", line 24, in
      from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import
      File "C:ProgramDataAnaconda3envstf-1_9-36libsite-packagestensorflowpython__init__.py", line 47, in
      import numpy as np
      File "C:ProgramDataAnaconda3envstf-1_9-36libsite-packagesnumpy__init__.py", line 142, in
      from . import core
      File "C:ProgramDataAnaconda3envstf-1_9-36libsite-packagesnumpycore__init__.py", line 47, in
      raise ImportError(msg)
      ImportError:



      IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!



      Importing the multiarray numpy extension module failed. Most
      likely you are trying to import a failed build of numpy.
      Here is how to proceed:
      - If you're working with a numpy git repository, try git clean -xdf
      (removes all files not under version control) and rebuild numpy.
      - If you are simply trying to use the numpy version that you have installed:
      your installation is broken - please reinstall numpy.
      - If you have already reinstalled and that did not fix the problem, then:
      1. Check that you are using the Python you expect (you're using C:ProgramDataAnaconda3envstf-1_9-36python.exe),
      and that you have no directories in your PATH or PYTHONPATH that can
      interfere with the Python and numpy versions you're trying to use.
      2. If (1) looks fine, you can open a new issue at
      https://github.com/numpy/numpy/issues. Please include details on:
      - how you installed Python
      - how you installed numpy
      - your operating system
      - whether or not you have multiple versions of Python installed
      - if you built from source, your compiler versions and ideally a build log



       Note: this error has many possible causes, so please don't comment on
      an existing issue about this - open a new one instead.


      Original error was: DLL load failed: The specified module could not be found.



      Thanks!










      share|improve this question














      I'm using windows 10 x64
      Anaconda 2018.12.0.0
      Python 3.6



      I can't figure out the problem. I've tried reinstalling numpy but still nothing.



      Below is the complete error I'm getting in the PYcharm



      Traceback (most recent call last):
      File "C:ProgramDataAnaconda3envstf-1_9-36libsite-packagesnumpycore__init__.py", line 16, in
      from . import multiarray
      File "C:ProgramDataAnaconda3envstf-1_9-36libsite-packagesnumpycoremultiarray.py", line 12, in
      from . import overrides
      File "C:ProgramDataAnaconda3envstf-1_9-36libsite-packagesnumpycoreoverrides.py", line 6, in
      from numpy.core._multiarray_umath import (
      ImportError: DLL load failed: The specified module could not be found.



      During handling of the above exception, another exception occurred:



      Traceback (most recent call last):
      File "C:/Users/ismae/PycharmProjects/Test1/first", line 1, in
      import tensorflow as tf
      File "C:ProgramDataAnaconda3envstf-1_9-36libsite-packagestensorflow__init__.py", line 24, in
      from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import
      File "C:ProgramDataAnaconda3envstf-1_9-36libsite-packagestensorflowpython__init__.py", line 47, in
      import numpy as np
      File "C:ProgramDataAnaconda3envstf-1_9-36libsite-packagesnumpy__init__.py", line 142, in
      from . import core
      File "C:ProgramDataAnaconda3envstf-1_9-36libsite-packagesnumpycore__init__.py", line 47, in
      raise ImportError(msg)
      ImportError:



      IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!



      Importing the multiarray numpy extension module failed. Most
      likely you are trying to import a failed build of numpy.
      Here is how to proceed:
      - If you're working with a numpy git repository, try git clean -xdf
      (removes all files not under version control) and rebuild numpy.
      - If you are simply trying to use the numpy version that you have installed:
      your installation is broken - please reinstall numpy.
      - If you have already reinstalled and that did not fix the problem, then:
      1. Check that you are using the Python you expect (you're using C:ProgramDataAnaconda3envstf-1_9-36python.exe),
      and that you have no directories in your PATH or PYTHONPATH that can
      interfere with the Python and numpy versions you're trying to use.
      2. If (1) looks fine, you can open a new issue at
      https://github.com/numpy/numpy/issues. Please include details on:
      - how you installed Python
      - how you installed numpy
      - your operating system
      - whether or not you have multiple versions of Python installed
      - if you built from source, your compiler versions and ideally a build log



       Note: this error has many possible causes, so please don't comment on
      an existing issue about this - open a new one instead.


      Original error was: DLL load failed: The specified module could not be found.



      Thanks!







      python dll anaconda






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Feb 15 at 17:32









      Ismail FarooqIsmail Farooq

      1




      1






















          0






          active

          oldest

          votes












          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          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%2fsuperuser.com%2fquestions%2f1406191%2fgetting-the-error-dll-load-failed-the-specified-module-could-not-be-found-wh%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Super User!


          • 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%2fsuperuser.com%2fquestions%2f1406191%2fgetting-the-error-dll-load-failed-the-specified-module-could-not-be-found-wh%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

          flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

          Mangá

           ⁒  ․,‪⁊‑⁙ ⁖, ⁇‒※‌, †,⁖‗‌⁝    ‾‸⁘,‖⁔⁣,⁂‾
”‑,‥–,‬ ,⁀‹⁋‴⁑ ‒ ,‴⁋”‼ ⁨,‷⁔„ ‰′,‐‚ ‥‡‎“‷⁃⁨⁅⁣,⁔
⁇‘⁔⁡⁏⁌⁡‿‶‏⁨ ⁣⁕⁖⁨⁩⁥‽⁀  ‴‬⁜‟ ⁃‣‧⁕‮ …‍⁨‴ ⁩,⁚⁖‫ ,‵ ⁀,‮⁝‣‣ ⁑  ⁂– ․, ‾‽ ‏⁁“⁗‸ ‾… ‹‡⁌⁎‸‘ ‡⁏⁌‪ ‵⁛ ‎⁨ ―⁦⁤⁄⁕