title: ImportError: DLL load failed: The file cannot be accessed by the system
body: <pre><code>Traceback (most recent call last):
  
    File "&lt;ipython-input-9-a40793f9ded7&gt;", line 7, in &lt;module&gt;
      from sklearn.model_selection import train_test_split
  
    File "C:\ProgramData\Anaconda3\lib\site-packages\sklearn\__init__.py", line 76, in &lt;module&gt;
      from .base import clone
  
    File "C:\ProgramData\Anaconda3\lib\site-packages\sklearn\base.py", line 16, in &lt;module&gt;
      from .utils import _IS_32BIT
  
    File "C:\ProgramData\Anaconda3\lib\site-packages\sklearn\utils\__init__.py", line 20, in &lt;module&gt;
      from .validation import (as_float_array,
  
    File "C:\ProgramData\Anaconda3\lib\site-packages\sklearn\utils\validation.py", line 21, in &lt;module&gt;
      from .fixes import _object_dtype_isnan
  
    File "C:\ProgramData\Anaconda3\lib\site-packages\sklearn\utils\fixes.py", line 18, in &lt;module&gt;
      from scipy.sparse.linalg import lsqr as sparse_lsqr  # noqa
  
    File "C:\ProgramData\Anaconda3\lib\site-packages\scipy\sparse\linalg\__init__.py", line 113, in &lt;module&gt;
      from .isolve import *
  
    File "C:\ProgramData\Anaconda3\lib\site-packages\scipy\sparse\linalg\isolve\__init__.py", line 6, in &lt;module&gt;
      from .iterative import *
  
    File "C:\ProgramData\Anaconda3\lib\site-packages\scipy\sparse\linalg\isolve\iterative.py", line 10, in &lt;module&gt;
      from . import _iterative
  
  ImportError: DLL load failed: The file cannot be accessed by the system.
  </code></pre>
  
  <p>Got this error while trying to run some already used python scripts on pycharm. Has anybody had this error before and has he solved it? It started after I installed a package in python but never used it. The problem is located when I try to import train_test_split on scikit-learn and tensorflow, the sklearn package and seaborn. The other parts of the code seem unaffected.
  I have already reinstalled anaconda and python as well as changing the python files. Any help would be greatly appreciated. </p>