Untitled conversation
- User
[W 2024-11-06 18:21:44.243 ServerApp] 500 POST /api/sessions?1730906503346 (::1): [WinError 2] Не удается найти указанный файл [W 2024-11-06 18:21:44.244 ServerApp] wrote error: '[WinError 2] Не удается найти указанный файл' Traceback (most recent call last): File "C:\Users\ivanm\AppData\Local\Programs\Python\Python311\Lib\site-packages\jupyter_server\services\sessions\handlers.py", line 90, in post s_model = await sm.create_session( ^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\ivanm\AppData\Local\Programs\Python\Python311\Lib\site-packages\jupyter_server\services\sessions\sessionmanager.py", line 285, in create_session kernel_id = await self.start_kernel_for_session( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\ivanm\AppData\Local\Programs\Python\Python311\Lib\site-packages\jupyter_server\services\sessions\sessionmanager.py", line 343, in start_kernel_for_session kernel_id = await self.kernel_manager.start_kernel( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\ivanm\AppData\Local\Programs\Python\Python311\Lib\site-packages\jupyter_server\services\kernels\kernelmanager.py", line 233, in _async_start_kernel kernel_id = await self.pinned_superclass._async_start_kernel(self, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\ivanm\AppData\Local\Programs\Python\Python311\Lib\site-packages\jupyter_client\multikernelmanager.py", line 283, in _async_start_kernel raise km.ready.exception() # type: ignore[misc] ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\ivanm\AppData\Local\Programs\Python\Python311\Lib\site-packages\jupyter_client\multikernelmanager.py", line 232, in add_kernel_when_ready await kernel_awaitable File "C:\Users\ivanm\AppData\Local\Programs\Python\Python311\Lib\site-packages\jupyter_core\utils_init.py", line 198, in ensure_async result = await obj ^^^^^^^^^ File "C:\Users\ivanm\AppData\Local\Programs\Python\Python311\Lib\site-packages\jupyter_server\services\kernels\kernelmanager.py", line 784, in wrapped_method raise err File "C:\Users\ivanm\AppData\Local\Programs\Python\Python311\Lib\site-packages\jupyter_server\services\kernels\kernelmanager.py", line 748, in wrapped_method out = await method(self, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\ivanm\AppData\Local\Programs\Python\Python311\Lib\site-packages\jupyter_server\services\kernels\kernelmanager.py", line 853, in start_kernel return await super().start_kernel(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\ivanm\AppData\Local\Programs\Python\Python311\Lib\site-packages\jupyter_client\manager.py", line 96, in wrapper raise e File "C:\Users\ivanm\AppData\Local\Programs\Python\Python311\Lib\site-packages\jupyter_client\manager.py", line 87, in wrapper out = await method(self, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\ivanm\AppData\Local\Programs\Python\Python311\Lib\site-packages\jupyter_client\manager.py", line 439, in _async_start_kernel await self._async_launch_kernel(kernel_cmd, **kw) File "C:\Users\ivanm\AppData\Local\Programs\Python\Python311\Lib\site-packages\jupyter_client\manager.py", line 354, in _async_launch_kernel connection_info = await self.provisioner.launch_kernel(kernel_cmd, **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\ivanm\AppData\Local\Programs\Python\Python311\Lib\site-packages\jupyter_client\provisioning\local_provisioner.py", line 210, in launch_kernel self.process = launch_kernel(cmd, **scrubbed_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\ivanm\AppData\Local\Programs\Python\Python311\Lib\site-packages\jupyter_client\launcher.py", line 170, in launch_kernel raise ex File "C:\Users\ivanm\AppData\Local\Programs\Python\Python311\Lib\site-packages\jupyter_client\launcher.py", line 155, in launch_kernel proc = Popen(cmd, **kwargs) # noqa ^^^^^^^^^^^^^^^^^^^^ File "C:\Users\ivanm\AppData\Local\Programs\Python\Python311\Lib\subprocess.py", line 1026, in self._execute_child(args, executable, preexec_fn, close_fds, File "C:\Users\ivanm\AppData\Local\Programs\Python\Python311\Lib\subprocess.py", line 1538, in _execute_child hp, ht, pid, tid = _winapi.CreateProcess(executable, args, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [WinError 2] Не удается найти указанный файл
- Assistant
The error message you're seeing indicates that Jupyter Server is encountering a problem trying to start a kernel. Specifically, it's a with a Windows error code , which typically means that the system cannot find the file specified. This often occurs when the kernel executable or one of its dependencies cannot be located.
- User
- Assistant
The error message you're encountering indicates a problem with loading the MPI (Message Passing Interface) library, which is required by the
mpi4pypackage. The specific issue is that the required MPI shared libraries (impi.dllormsmpi.dll) are not found, or their dependencies are missing.