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

ImportError: DLL load failed: A dynamic link library (DLL) initialization routine failed #288

Open
z575 opened this issue Sep 14, 2024 · 2 comments

Comments

@z575
Copy link

z575 commented Sep 14, 2024

I get an error when I import pycolmap==3.10.0
ImportError: DLL load failed: A dynamic link library (DLL) initialization routine failed

@sarlinpe
Copy link
Collaborator

We need more information:

  • was pycolmap built from source or installed with PyPI wheels?
  • detailed system specifications
  • exact steps to reproduce the issue
  • full error log

Thank you!

@z575
Copy link
Author

z575 commented Sep 15, 2024

  1. Installed through PyPI wheels(pip install pycolmap );
  2. The operating system is win11, and the processor is Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz 1.19 GHz;
  3. I have also used other computers to install pycolmap (3.10.0), all of which have errors when importing (import pycolmap), and the versions of python are 3.8.2 and 3.12.0
  4. The error log is:Traceback (most recent call last):
    File "d:\Program Files\Python312\Lib\runpy.py", line 198, in _run_module_as_main
    return _run_code(code, main_globals, None,
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "d:\Program Files\Python312\Lib\runpy.py", line 88, in run_code
    exec(code, run_globals)
    File"c:\Users****.vscode\extensions\ms-python.debugpy-2024.10.0-win32-x64\bundled\libs\debugpy\adapter/../..\debugpy
    \launcher/../..\debugpy_main
    .py", line 39, in
    cli.main()
    File "c:\Users*.vscode\extensions\ms-python.debugpy-2024.10.0-win32-x64\bundled\libs\debugpy\adapter/../..\debugpy
    \launcher/../..\debugpy/..\debugpy\server\cli.py", line 430, in main
    run()
    File "c:\Users*
    .vscode\extensions\ms-python.debugpy-2024.10.0-win32-x64\bundled\libs\debugpy\adapter/../..\debugpy
    \launcher/../..\debugpy/..\debugpy\server\cli.py", line 284, in run_file
    runpy.run_path(target, run_name="main")
    File "c:\Users*.vscode\extensions\ms-python.debugpy-2024.10.0-win32-x64\bundled\libs\debugpy_vendored\pydevd_pyd
    evd_bundle\pydevd_runpy.py", line 321, in run_path
    return _run_module_code(code, init_globals, run_name,
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "c:\Users*
    .vscode\extensions\ms-python.debugpy-2024.10.0-win32-x64\bundled\libs\debugpy_vendored\pydevd_pyd
    evd_bundle\pydevd_runpy.py", line 135, in _run_module_code
    _run_code(code, mod_globals, init_globals,
    File "c:\Users*.vscode\extensions\ms-python.debugpy-2024.10.0-win32-x64\bundled\libs\debugpy_vendored\pydevd_pyd
    evd_bundle\pydevd_runpy.py", line 124, in _run_code
    exec(code, run_globals)
    File "c:\Users*
    \Desktop****\test.py", line 4, in
    import pycolmap
    ImportError: DLL load failed while importing pycolmap: A dynamic link library (DLL) initialization routine failed。
    Thank you!

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

2 participants