ImportError: DLL load failed: The file cannot be accessed by the system

Arpel :
Traceback (most recent call last):

  File "<ipython-input-9-a40793f9ded7>", line 7, in <module>
    from sklearn.model_selection import train_test_split

  File "C:\ProgramData\Anaconda3\lib\site-packages\sklearn\__init__.py", line 76, in <module>
    from .base import clone

  File "C:\ProgramData\Anaconda3\lib\site-packages\sklearn\base.py", line 16, in <module>
    from .utils import _IS_32BIT

  File "C:\ProgramData\Anaconda3\lib\site-packages\sklearn\utils\__init__.py", line 20, in <module>
    from .validation import (as_float_array,

  File "C:\ProgramData\Anaconda3\lib\site-packages\sklearn\utils\validation.py", line 21, in <module>
    from .fixes import _object_dtype_isnan

  File "C:\ProgramData\Anaconda3\lib\site-packages\sklearn\utils\fixes.py", line 18, in <module>
    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 <module>
    from .isolve import *

  File "C:\ProgramData\Anaconda3\lib\site-packages\scipy\sparse\linalg\isolve\__init__.py", line 6, in <module>
    from .iterative import *

  File "C:\ProgramData\Anaconda3\lib\site-packages\scipy\sparse\linalg\isolve\iterative.py", line 10, in <module>
    from . import _iterative

ImportError: DLL load failed: The file cannot be accessed by the system.

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.

Arpel :

After reinstalling the python as well as updating all the packages (conda update --all) and changing the PATH file, it seems that the issue is solved in all of my IDE's except PyCharm. It seems that all that remains is an interpreter issue. I will post updates if something else comes into my attention.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

ImportError: DLL load failed: The file cannot be accessed by the system

From Dev

paramiko ImportError: DLL load failed: The operating system cannot run %1

From Dev

Tensorflow: ImportError: DLL load failed: Cannot find module

From Dev

ImportError: DLL load failed, while file is in working directory

From Dev

How to resolve "ImportError: DLL load failed:" on Python?

From Dev

sklearn. ImportError: DLL load failed

From Dev

Pyinstaller ImportError with scipy: DLL load failed

From Dev

"ImportError: DLL load failed" when importing tensorflow

From Dev

System.IO.FileNotFoundException: Could not load file or assembly. The system cannot find the file SharpSvn.dll

From Python

Cannot import from pywinauto: ImportError: DLL load failed while importing win32ui: A dynamic link library (DLL) initialization routine failed

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

"ImportError: DLL load failed while importing" while using PyInstaller

From Python

ImportError: DLL load failed with pybind11 and PCL

From Dev

Tensorflow installation issue: ImportError: DLL load failed with error code -1073741795

From Dev

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

From Dev

pyinstaller ImportError: DLL load failed - only on some PC's

From Dev

"ImportError: DLL load failed while importing _openmp_helpers"?

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

Pyjnius. ImportError: DLL load failed: The specified module was not found

From Dev

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

From Dev

ElastAlert ImportError: DLL load failed: The specified procedure 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

importError: DLL load failed(import h5py)

From Dev

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

From Dev

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

Related Related

  1. 1

    ImportError: DLL load failed: The file cannot be accessed by the system

  2. 2

    paramiko ImportError: DLL load failed: The operating system cannot run %1

  3. 3

    Tensorflow: ImportError: DLL load failed: Cannot find module

  4. 4

    ImportError: DLL load failed, while file is in working directory

  5. 5

    How to resolve "ImportError: DLL load failed:" on Python?

  6. 6

    sklearn. ImportError: DLL load failed

  7. 7

    Pyinstaller ImportError with scipy: DLL load failed

  8. 8

    "ImportError: DLL load failed" when importing tensorflow

  9. 9

    System.IO.FileNotFoundException: Could not load file or assembly. The system cannot find the file SharpSvn.dll

  10. 10

    Cannot import from pywinauto: ImportError: DLL load failed while importing win32ui: A dynamic link library (DLL) initialization routine failed

  11. 11

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

  12. 12

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

  13. 13

    "ImportError: DLL load failed while importing" while using PyInstaller

  14. 14

    ImportError: DLL load failed with pybind11 and PCL

  15. 15

    Tensorflow installation issue: ImportError: DLL load failed with error code -1073741795

  16. 16

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

  17. 17

    pyinstaller ImportError: DLL load failed - only on some PC's

  18. 18

    "ImportError: DLL load failed while importing _openmp_helpers"?

  19. 19

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

  20. 20

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

  21. 21

    Pyjnius. ImportError: DLL load failed: The specified module was not found

  22. 22

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

  23. 23

    ElastAlert ImportError: DLL load failed: The specified procedure could not be found

  24. 24

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

  25. 25

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

  26. 26

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

  27. 27

    importError: DLL load failed(import h5py)

  28. 28

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

  29. 29

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

HotTag

Archive