Ошибка OSError Jupyter Notebook: [WinError 193]% 1 не является допустимым приложением Win32 при импорте nilearn
Это ошибка, которую я получаю при запуске "import nilearn".
OSError Traceback (most recent call last)
<ipython-input-2-ffe7acae440c> in <module>
----> 1 import nilearn
~\AppData\Roaming\Python\Python37\site-packages\nilearn\__init__.py in <module>
65
66
---> 67 _check_module_dependencies()
68 _python_deprecation_warnings()
69
~\AppData\Roaming\Python\Python37\site-packages\nilearn\version.py in _check_module_dependencies(is_nilearn_installing)
116 module_name=module_name,
117 minimum_version=module_metadata['min_version'],
--> 118 install_info=module_metadata.get('install_info'))
~\AppData\Roaming\Python\Python37\site-packages\nilearn\version.py in _import_module_with_version_check(module_name, minimum_version, install_info)
62
63 try:
---> 64 module = __import__(module_name)
65 except ImportError as exc:
66 user_friendly_info = ('Module "{0}" could not be found. {1}').format(
~\AppData\Roaming\Python\Python37\site-packages\sklearn\__init__.py in <module>
76 # later is linked to the OpenMP runtime to make it possible to introspect
77 # it and importing it first would fail if the OpenMP dll cannot be found.
---> 78 from . import _distributor_init # noqa: F401
79 from . import __check_build # noqa: F401
80 from .base import clone
~\AppData\Roaming\Python\Python37\site-packages\sklearn\_distributor_init.py in <module>
16 # Pre-load the DLL stored in sklearn/.libs by convention.
17 dll_path = op.join(op.dirname(__file__), '.libs', 'vcomp140.dll')
---> 18 WinDLL(op.abspath(dll_path))
19
C:\ProgramData\Anaconda3\lib\ctypes\__init__.py in __init__(self, name, mode, handle, use_errno, use_last_error)
354
355 if handle is None:
--> 356 self._handle = _dlopen(self._name, mode)
357 else:
358 self._handle = handle
OSError: [WinError 193] %1 is not a valid Win32 application
Я установил nilearn, используя команду "pip install -U --user nilearn". Пакет работает на моем pycharm, но не работает на Jupyter Notebook