compomics / ms2rescore

Modular and user-friendly platform for AI-assisted rescoring of peptide identifications
https://ms2rescore.readthedocs.io
Apache License 2.0
39 stars 14 forks source link

pyopenms DLL issue #149

Open AUldry opened 1 month ago

AUldry commented 1 month ago

Dear all,

I'm downloaded and installed MS2Rescore-v3.0.3-Windows64bit.exe on our Windows 10 Enterprise server. It installs without issues, but we get the following message when the program starts:


Traceback (most recent call last): File "ms2rescore\gui__main.py", line 7, in from ms2rescore.gui.app import app File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module File "ms2rescore\init.py", line 16, in from ms2rescore.core import rescore # noqa: F401 E402 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module File "ms2rescore\core.py", line 6, in import psm_utils.io File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module File "psm_utils\io\init.py", line 11, in import psm_utils.io.idxml as idxml File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module File "psm_utils\io\idxml.py", line 33, in import pyopenms as oms #noqa: E402 ^^^^^^^^^^^^^^^^^^^^^^ File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module File "pyopenms\init.py", line 107, in File "pyopenms\init__.py", line 65, in File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module File "pyopenms_all_modules.py", line 1, in ImportError: DLL load failed while importing _pyopenms_1: A dynamic link library (DLL) initialization routine failed.

I'm a little hazy as to whether this windows executable comes with python stuff all packaged in, or whether it's trying to use our pre-installed python install. We do have indeed python 3.9, there, and pyopenms 3.0.0. Import pyopenms does not complain when invoked.

Any idea what is to be done? Thanks in advance!

Best wishes,