ImportError: DLL load failed: The specified module could not be found (sklearn)

Sam Black

I installed numpy, scipy and scikit-learn in Python 3.5. When I run my program, I get this error.

Traceback (most recent call last):
  File "D:/Dropbox/Cong Toan/Tools/NLP_Tools/doc_sim.py", line 1, in <module>
    from sklearn.feature_extraction.text import TfidfVectorizer
  File "C:\Python35-32\lib\site-packages\sklearn\__init__.py", line 57, in <module>
    from .base import clone
  File "C:\Python35-32\lib\site-packages\sklearn\base.py", line 11, in <module>
    from .utils.fixes import signature
  File "C:\Python35-32\lib\site-packages\sklearn\utils\__init__.py", line 11, in <module>
    from .validation import (as_float_array,
  File "C:\Python35-32\lib\site-packages\sklearn\utils\validation.py", line 16, in <module>
    from ..utils.fixes import signature
  File "C:\Python35-32\lib\site-packages\sklearn\utils\fixes.py", line 324, in <module>
    from scipy.sparse.linalg import lsqr as sparse_lsqr
  File "C:\Python35-32\lib\site-packages\scipy\sparse\linalg\__init__.py", line 112, in <module>
    from .isolve import *
  File "C:\Python35-32\lib\site-packages\scipy\sparse\linalg\isolve\__init__.py", line 6, in <module>
    from .iterative import *
  File "C:\Python35-32\lib\site-packages\scipy\sparse\linalg\isolve\iterative.py", line 7, in <module>
    from . import _iterative
ImportError: DLL load failed: The specified module could not be found.
armatita

It actually requires numpy+mkl. But it's difficult to say if that is the problem with your distribution.

My advice is that you use one of the available distributions that already bring those libraries. I recommend WinPython, but I also heard good things about Anaconda.

It's easy to install other packages with WinPython using:

Unofficial Windows Binaries for Python Extension Packages

By Christoph Gohlke.

If you really want to solve that issue with your current distribution you'll have to provide more information such as versions that you installed, previous modules installed, and how you installed them.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Error when trying to import sklearn modules : ImportError: DLL load failed: The specified module could not be found

From Dev

ImportError: DLL load failed: The specified module could not be found for numpy

From Dev

pyodbc ImportError: DLL load failed: The specified module could > not be found

From Dev

Python: ImportError: DLL load failed: The specified module could not be found

From Java

ImportError: DLL load failed: The specified module could not be found

From Java

ImportError: DLL load failed: The specified module could not be found

From Dev

NLTK ImportError: DLL load failed: The specified module could not be found

From Dev

Scipy ImportError: DLL load failed: The specified module could not be found

From Dev

Pyinstaller ImportError: DLL load failed: The specified module could not be found

From Dev

Tensorflow on windows - ImportError: DLL load failed: The specified module could not be found

From Dev

skimage - ImportError: DLL load failed: The specified module could not be found

From Dev

ktrain ImportError: DLL load failed: The specified module could not be found

From Dev

MeCab: “ImportError: DLL load failed: The specified module could not be found.”

From Dev

ImportError: DLL load failed: The specified procedure could not be found. (import sklearn)

From Dev

cx_Freeze ImportError: DLL load failed failed while importing _ctypes: The specified module could not be found

From Dev

Trying to install TensorFlow- GPU...failed with ImportError: DLL load failed: The specified module could not be found

From Dev

How can I bypass kivy module error: ImportError: DLL load failed: The specified module could not be found?

From Dev

OpenCV-Python ImportError: DLL load failed: The specified module could not be found

From Dev

Can run script from pycharm, but not from Terminal. ImportError: DLL load failed: The specified module could not be found

From Dev

ImportError: DLL load failed: The specified module could not be found. Tensorflow Chatbot

From Dev

from scipy.linalg import _fblas: ImportError: DLL load failed: The specified module could not be found

From Dev

Exception has occurred: ImportError DLL load failed while importing pdftotext: The specified module could not be found

From Dev

ImportError: DLL load failed while importing _psycopg: The specified module could not be found

From Dev

Unable to open ANACONDA or SPYDER: ImportError: DLL load failed: The specified module could not be found

From Dev

ver.2 PyGreSQL ERROR: from _pg import * ImportError: DLL load failed: The specified module could not be found

From Dev

ImportError: DLL load failed while importing pyexpat: The specified module could not be found

From Dev

Tensorflow-alpha-gpu issue ImportError: DLL load failed: The specified module could not be found

From Dev

ImportError: DLL load failed: The specified module could not be found. While attempting to import TensorFlow

From Dev

(ibm_db) ImportError: DLL load failed while importing ibm_db: The specified module could not be found

Related Related

  1. 1

    Error when trying to import sklearn modules : ImportError: DLL load failed: The specified module could not be found

  2. 2

    ImportError: DLL load failed: The specified module could not be found for numpy

  3. 3

    pyodbc ImportError: DLL load failed: The specified module could > not be found

  4. 4

    Python: ImportError: DLL load failed: The specified module could not be found

  5. 5

    ImportError: DLL load failed: The specified module could not be found

  6. 6

    ImportError: DLL load failed: The specified module could not be found

  7. 7

    NLTK ImportError: DLL load failed: The specified module could not be found

  8. 8

    Scipy ImportError: DLL load failed: The specified module could not be found

  9. 9

    Pyinstaller ImportError: DLL load failed: The specified module could not be found

  10. 10

    Tensorflow on windows - ImportError: DLL load failed: The specified module could not be found

  11. 11

    skimage - ImportError: DLL load failed: The specified module could not be found

  12. 12

    ktrain ImportError: DLL load failed: The specified module could not be found

  13. 13

    MeCab: “ImportError: DLL load failed: The specified module could not be found.”

  14. 14

    ImportError: DLL load failed: The specified procedure could not be found. (import sklearn)

  15. 15

    cx_Freeze ImportError: DLL load failed failed while importing _ctypes: The specified module could not be found

  16. 16

    Trying to install TensorFlow- GPU...failed with ImportError: DLL load failed: The specified module could not be found

  17. 17

    How can I bypass kivy module error: ImportError: DLL load failed: The specified module could not be found?

  18. 18

    OpenCV-Python ImportError: DLL load failed: The specified module could not be found

  19. 19

    Can run script from pycharm, but not from Terminal. ImportError: DLL load failed: The specified module could not be found

  20. 20

    ImportError: DLL load failed: The specified module could not be found. Tensorflow Chatbot

  21. 21

    from scipy.linalg import _fblas: ImportError: DLL load failed: The specified module could not be found

  22. 22

    Exception has occurred: ImportError DLL load failed while importing pdftotext: The specified module could not be found

  23. 23

    ImportError: DLL load failed while importing _psycopg: The specified module could not be found

  24. 24

    Unable to open ANACONDA or SPYDER: ImportError: DLL load failed: The specified module could not be found

  25. 25

    ver.2 PyGreSQL ERROR: from _pg import * ImportError: DLL load failed: The specified module could not be found

  26. 26

    ImportError: DLL load failed while importing pyexpat: The specified module could not be found

  27. 27

    Tensorflow-alpha-gpu issue ImportError: DLL load failed: The specified module could not be found

  28. 28

    ImportError: DLL load failed: The specified module could not be found. While attempting to import TensorFlow

  29. 29

    (ibm_db) ImportError: DLL load failed while importing ibm_db: The specified module could not be found

HotTag

Archive