Hello,
i followed the installation procedure and all was fine until I called the first d2l-Python notebook.
when I open a notebook Jupyter immediately shows kernel error.
the measures to overcom the error found via google search do not overcome the problem.
I found also a message with Google that the problem in conda should be solved in 2019.
More details:
The window that opens shows “Failed to start the kernel” as headline.
The first error in the list seems to be
“ImportError: DLL load failed while importing win32api: Das angegebene Modul wurde nicht gefunden.”
that is the last message in this list.
Thank you for your help.
Axel
The details in the window with the error messages are:
value = future.result()
File “c:\users\agraeser\miniconda3\envs\d2l\lib\site-packages\tornado\gen.py”, line 769, in run
yielded = self.gen.throw(*exc_info) # type: ignore
File “c:\users\agraeser\miniconda3\envs\d2l\lib\site-packages\notebook\services\sessions\sessionmanager.py”, line 88, in create_session
kernel_id = yield self.start_kernel_for_session(session_id, path, name, type, kernel_name)
File “c:\users\agraeser\miniconda3\envs\d2l\lib\site-packages\tornado\gen.py”, line 762, in run
value = future.result()
File “c:\users\agraeser\miniconda3\envs\d2l\lib\site-packages\tornado\gen.py”, line 769, in run
yielded = self.gen.throw(*exc_info) # type: ignore
File “c:\users\agraeser\miniconda3\envs\d2l\lib\site-packages\notebook\services\sessions\sessionmanager.py”, line 100, in start_kernel_for_session
kernel_id = yield maybe_future(
File “c:\users\agraeser\miniconda3\envs\d2l\lib\site-packages\tornado\gen.py”, line 762, in run
value = future.result()
File “c:\users\agraeser\miniconda3\envs\d2l\lib\site-packages\notebook\services\kernels\kernelmanager.py”, line 176, in start_kernel
kernel_id = await maybe_future(self.pinned_superclass.start_kernel(self, **kwargs))
File “c:\users\agraeser\miniconda3\envs\d2l\lib\site-packages\jupyter_client\multikernelmanager.py”, line 185, in start_kernel
km.start_kernel(**kwargs)
File “c:\users\agraeser\miniconda3\envs\d2l\lib\site-packages\jupyter_client\manager.py”, line 309, in start_kernel
kernel_cmd, kw = self.pre_start_kernel(**kw)
File “c:\users\agraeser\miniconda3\envs\d2l\lib\site-packages\jupyter_client\manager.py”, line 258, in pre_start_kernel
self.write_connection_file()
File “c:\users\agraeser\miniconda3\envs\d2l\lib\site-packages\jupyter_client\connect.py”, line 468, in write_connection_file
self.connection_file, cfg = write_connection_file(self.connection_file,
File “c:\users\agraeser\miniconda3\envs\d2l\lib\site-packages\jupyter_client\connect.py”, line 138, in write_connection_file
with secure_write(fname) as f:
File “c:\users\agraeser\miniconda3\envs\d2l\lib\contextlib.py”, line 113, in enter
return next(self.gen)
File “c:\users\agraeser\miniconda3\envs\d2l\lib\site-packages\jupyter_core\paths.py”, line 461, in secure_write
win32_restrict_file_to_user(fname)
File “c:\users\agraeser\miniconda3\envs\d2l\lib\site-packages\jupyter_core\paths.py”, line 387, in win32_restrict_file_to_user
import win32api
ImportError: DLL load failed while importing win32api: Das angegebene Modul wurde nicht gefunden.