FragPipe icon indicating copy to clipboard operation
FragPipe copied to clipboard

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.

Open marthaspn opened this issue 7 months ago • 6 comments

Hi! I am getting the following error messages when trying to run Fragpipe 23 with the non-HLA-DIA workflow and the nuorfdb in a Windows computer. Could you please help me resolve it?

Thanks!

Martha

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:\FragPipe\FragPipe-23.0\python\Lib\site-packages\pyopenms\pyopenms*.so

====================================================================== Traceback (most recent call last): File "C:\FragPipe\FragPipe-23.0\tools\speclib\gen_con_spec_lib.py", line 601, in main() File "C:\FragPipe\FragPipe-23.0\tools\speclib\gen_con_spec_lib.py", line 573, in main main_easypqp(params, irt_df, allcmds, easypqp_convert_cmds) File "C:\FragPipe\FragPipe-23.0\tools\speclib\gen_con_spec_lib.py", line 323, in main_easypqp subprocess.run([os.fspath(params.easypqp), '--version'], check=True) File "C:\FragPipe\FragPipe-23.0\python\Lib\subprocess.py", line 571, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['C:\FragPipe\FragPipe-23.0\python\Scripts\easypqp.exe', '--version']' returned non-zero exit status 1. Process 'SpecLibGen' finished, exit code: 1 Process returned non-zero exit code, stopping

Cancelling 8 remaining tasks




[LogFragpipe.docx](https://github.com/user-attachments/files/20624496/LogFragpipe.docx)

marthaspn avatar Jun 06 '25 08:06 marthaspn

Could you share the log file?

Thanks,

Fengchao

fcyu avatar Jun 06 '25 13:06 fcyu

Yes, sorry I thought it was already attached.

LogFragpipe.docx

marthaspn avatar Jun 06 '25 13:06 marthaspn

@marthanik Did you move the installation of FragPipe after install?

guoci avatar Jun 06 '25 15:06 guoci

Sorry I thought I had replied and just saw case closure. No we did not move any file.

Best, Martha

Στις Πέμ 12 Ιουν 2025 στις 20:08 ο χρήστης Fengchao < @.***> έγραψε:

Closed #2252 https://github.com/Nesvilab/FragPipe/issues/2252 as completed.

— Reply to this email directly, view it on GitHub https://github.com/Nesvilab/FragPipe/issues/2252#event-18119806497, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3NH4NO3BQRZHUKIJ2MZ3C33DGXXRAVCNFSM6AAAAAB6XOWXTWVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJYGEYTSOBQGY2DSNY . You are receiving this because you were mentioned.Message ID: @.***>

marthaspn avatar Jun 12 '25 17:06 marthaspn

Please post on https://github.com/OpenMS/OpenMS/issues

guoci avatar Jun 12 '25 17:06 guoci

Continued at https://github.com/OpenMS/OpenMS/issues/8083

guoci avatar Jun 16 '25 01:06 guoci