compomics / ms2rescore

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

Install v3.0.0b4 from Windows .exe, failed to run with "Cannot find XGBoost Library in the candidate path" #101

Closed vrkosk closed 11 months ago

vrkosk commented 11 months ago

I downloaded MS2Rescore-v3.0.0b4-Windows64bit.exe and installed in the default path. When trying to run ms2rescore.exe, I get:

Failed to execute script '__main__' due to unhandled exception:
Cannot find XGBoost Library in the candidate path. List of candidates:
- C:\Program Files (x86)\MS2Rescore\_internal\xgboost\lib\xgboost.dll
- C:\Program Files (x86)\MS2Rescore\_internal\xgboost\..\..\lib\xgboost.dll
- C:\Program Files (x86)\MS2Rescore\_internal\lib\xgboost.dll
- C:\Program Files (x86)\MS2Rescore\_internal\xgboost\../../windows/x64/Release/xgboost.dll
- C:\Program Files (x86)\MS2Rescore\_internal\xgboost\./windows/x64/Release/xgboost.dll
XGBoost Python package path: C:\Program Files (x86)\MS2Rescore\_internal\xgboost
sys.prefix: C:\Program Files (x86)\MS2Rescore\_internal
See: https://xgboost.readthedocs.io/en/latest/build.html for installing XGBoost.

Indeed, I can find no files in _internal that match *xgboost*, and no obvious way to install it.

RalfG commented 11 months ago

Hi Ville,

Thanks for reporting! Not sure what went wrong during the build process, but adding XGBoost is now hardcoded in the build script. A new exe is available in the b5 release: https://github.com/compomics/ms2rescore/releases/tag/v3.0.0-b5

Best, Ralf