-1
 from sklearn import preprocessing

Getting the Follwing output:

File "", line 1, in File "C:\Users\arunr\lib\site-packages\sklearn__init__.py", line 75, in from .utils._show_versions import show_versions File "C:\Users\arunr\lib\site-packages\sklearn\utils_show_versions.py", line 12, in from ._openmp_helpers import _openmp_parallelism_enabled

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

Ru Chern Chong
  • 3,692
  • 13
  • 33
  • 43
  • Check if you running the same python environment. You have either installed sklearn for a different environment or a dependency is installed in wrong environment. – secretive Dec 13 '19 at 17:48
  • 1
    This packaging issue is being tracked at: https://github.com/scikit-learn/scikit-learn/issues/15899 In the mean time you can install scikt-learn from conda-forge: `conda install conda-forge::scikit-learn` – ogrisel Dec 18 '19 at 14:51

1 Answers1

-1

Try:

pip install -U scikit-learn
seralouk
  • 30,938
  • 9
  • 118
  • 133