title: Error when trying to import sklearn modules : ImportError: DLL load failed: The specified module could not be found
body: <p>I tried to do the following importations for a machine learning project:</p>
  
  <pre><code>from sklearn import preprocessing, cross_validation, svm
  from sklearn.linear_model import LinearRegression
  </code></pre>
  
  <p>I got this error message:</p>
  
  <pre><code>Traceback (most recent call last):
    File "C:/Users/Abdelhalim/PycharmProjects/ML/stock pricing.py", line 4, in &lt;module&gt;
      from sklearn import preprocessing, cross_validation, svm
    File "C:\Python27\lib\site-packages\sklearn\__init__.py", line 57, in &lt;module&gt;
      from .base import clone
    File "C:\Python27\lib\site-packages\sklearn\base.py", line 12, in &lt;module&gt;
      from .utils.fixes import signature
    File "C:\Python27\lib\site-packages\sklearn\utils\__init__.py", line 11, in &lt;module&gt;
      from .validation import (as_float_array,
    File "C:\Python27\lib\site-packages\sklearn\utils\validation.py", line 18, in &lt;module&gt;
      from ..utils.fixes import signature
    File "C:\Python27\lib\site-packages\sklearn\utils\fixes.py", line 291, in &lt;module&gt;
      from scipy.sparse.linalg import lsqr as sparse_lsqr
    File "C:\Python27\lib\site-packages\scipy\sparse\linalg\__init__.py", line 112, in &lt;module&gt;
      from .isolve import *
    File "C:\Python27\lib\site-packages\scipy\sparse\linalg\isolve\__init__.py", line 6, in &lt;module&gt;
      from .iterative import *
    File "C:\Python27\lib\site-packages\scipy\sparse\linalg\isolve\iterative.py", line 7, in &lt;module&gt;
      from . import _iterative
  ImportError: DLL load failed: The specified module could not be found.
  </code></pre>
  
  <p>Please help I tried everything but nothing worked. I tried these solutions as well:
  <a href="https://stackoverflow.com/questions/38716945/importerror-dll-load-failed-le-module-sp%C3%A9cifi%C3%A9-est-introuvable">ImportError: DLL load failed: Le module sp&#233;cifi&#233; est introuvable</a></p>
  
  <p><a href="https://stackoverflow.com/questions/20201868/importerror-dll-load-failed-the-specified-module-could-not-be-found">ImportError: DLL load failed: The specified module could not be found</a></p>