Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

import win32api ImportError: DLL load failed while importing win32api: The specified module could not be found. #30

Open
YatinAdityaT opened this issue May 9, 2020 · 0 comments

Comments

@YatinAdityaT
Copy link

I got this error from jupyter kernel when i tried to open demo.py

Traceback (most recent call last):
  File "c:\users\yatin\.conda\envs\mask_rcnn_3\lib\site-packages\tornado\web.py", line 1703, in _execute
    result = await result
  File "c:\users\yatin\.conda\envs\mask_rcnn_3\lib\site-packages\tornado\gen.py", line 742, in run
    yielded = self.gen.throw(*exc_info)  # type: ignore
  File "c:\users\yatin\.conda\envs\mask_rcnn_3\lib\site-packages\notebook\services\sessions\handlers.py", line 69, in post
    model = yield maybe_future(
  File "c:\users\yatin\.conda\envs\mask_rcnn_3\lib\site-packages\tornado\gen.py", line 735, in run
    value = future.result()
  File "c:\users\yatin\.conda\envs\mask_rcnn_3\lib\site-packages\tornado\gen.py", line 742, in run
    yielded = self.gen.throw(*exc_info)  # type: ignore
  File "c:\users\yatin\.conda\envs\mask_rcnn_3\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\yatin\.conda\envs\mask_rcnn_3\lib\site-packages\tornado\gen.py", line 735, in run
    value = future.result()
  File "c:\users\yatin\.conda\envs\mask_rcnn_3\lib\site-packages\tornado\gen.py", line 742, in run
    yielded = self.gen.throw(*exc_info)  # type: ignore
  File "c:\users\yatin\.conda\envs\mask_rcnn_3\lib\site-packages\notebook\services\sessions\sessionmanager.py", line 100, in start_kernel_for_session
    kernel_id = yield maybe_future(
  File "c:\users\yatin\.conda\envs\mask_rcnn_3\lib\site-packages\tornado\gen.py", line 735, in run
    value = future.result()
  File "c:\users\yatin\.conda\envs\mask_rcnn_3\lib\site-packages\tornado\gen.py", line 209, in wrapper
    yielded = next(result)
  File "c:\users\yatin\.conda\envs\mask_rcnn_3\lib\site-packages\notebook\services\kernels\kernelmanager.py", line 168, in start_kernel
    super(MappingKernelManager, self).start_kernel(**kwargs)
  File "c:\users\yatin\.conda\envs\mask_rcnn_3\lib\site-packages\jupyter_client\multikernelmanager.py", line 158, in start_kernel
    km.start_kernel(**kwargs)
  File "c:\users\yatin\.conda\envs\mask_rcnn_3\lib\site-packages\jupyter_client\manager.py", line 301, in start_kernel
    kernel_cmd, kw = self.pre_start_kernel(**kw)
  File "c:\users\yatin\.conda\envs\mask_rcnn_3\lib\site-packages\jupyter_client\manager.py", line 248, in pre_start_kernel
    self.write_connection_file()
  File "c:\users\yatin\.conda\envs\mask_rcnn_3\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\yatin\.conda\envs\mask_rcnn_3\lib\site-packages\jupyter_client\connect.py", line 138, in write_connection_file
    with secure_write(fname) as f:
  File "c:\users\yatin\.conda\envs\mask_rcnn_3\lib\contextlib.py", line 113, in __enter__
    return next(self.gen)
  File "c:\users\yatin\.conda\envs\mask_rcnn_3\lib\site-packages\jupyter_core\paths.py", line 435, in secure_write
    win32_restrict_file_to_user(fname)
  File "c:\users\yatin\.conda\envs\mask_rcnn_3\lib\site-packages\jupyter_core\paths.py", line 361, in win32_restrict_file_to_user
    import win32api
ImportError: DLL load failed while importing win32api: The specified module could not be found.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant