Skip to content

ImportError with pyOpenMS version 3.2.0 on Windows when PyArrow was imported #7600

@RalfG

Description

@RalfG

Hi OpenMS team,

Thanks for the great work!

Our most recent build of MS²Rescore, using pyOpenMS 3.2, failed with an ImportError:

   File "C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\site-packages\psm_utils\io\idxml.py", line 33, in <module>
    import pyopenms as oms  #noqa: E402
    ^^^^^^^^^^^^^^^^^^^^^^
  File "C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\site-packages\pyopenms\__init__.py", line 109, in <module>
    raise e
  File "C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\site-packages\pyopenms\__init__.py", line 67, in <module>
    from ._all_modules import *  # pylint: disable=wildcard-import; lgtm(py/polluting-import)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\site-packages\pyopenms\_all_modules.py", line 1, in <module>
    from ._pyopenms_1 import *  # pylint: disable=wildcard-import; lgtm(py/polluting-import)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^
ImportError: DLL load failed while importing _pyopenms_1: A dynamic link library (DLL) initialization routine failed.

======================================================================
Error when loading pyOpenMS libraries!
Libraries could not be found / could not be loaded.

To debug this error, please run ldd (on linux), otool -L (on macOS) or dependency walker (on windows) on 

C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\site-packages\pyopenms\pyopenms*.so

I'm not sure if this is due to missing requirements on the GitHub Actions runner? Previous builds with pyOpenMS 3.1 ran without issues.

Thanks in advance,
Ralf

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions