[GH-ISSUE #251] XGBoost Library Not Found #224

Closed
opened 2026-02-26 12:20:52 +03:00 by kerem · 3 comments
Owner

Originally created by @ravirajpatil871 on GitHub (Mar 15, 2022).
Original GitHub issue: https://github.com/brentvollebregt/auto-py-to-exe/issues/251

Error:
xgboost.libpath.XGBoostLibraryNotFound: Cannot find XGBoost Library in the candidate path, did you install compilers and run build.sh in root path?
List of candidates:
C:\Users\patil\AppData\Local\Temp_MEI103562\xgboost\xgboost.dll
C:\Users\patil\AppData\Local\Temp_MEI103562\xgboost../../lib/xgboost.dll
C:\Users\patil\AppData\Local\Temp_MEI103562\xgboost./lib/xgboost.dll
C:\Users\patil\AppData\Local\Temp_MEI103562\xgboost\xgboost.dll
C:\Users\patil\AppData\Local\Temp_MEI103562\xgboost../../windows/x64/Release/xgboost.dll
C:\Users\patil\AppData\Local\Temp_MEI103562\xgboost./windows/x64/Release/xgboost.dll

converted the python script to EXE but got the above error while running the EXE.
Code is working fine before converting to exe but got this error after conversion only.

Originally created by @ravirajpatil871 on GitHub (Mar 15, 2022). Original GitHub issue: https://github.com/brentvollebregt/auto-py-to-exe/issues/251 Error: xgboost.libpath.XGBoostLibraryNotFound: Cannot find XGBoost Library in the candidate path, did you install compilers and run [build.sh](https://build.sh/) in root path? List of candidates: C:\Users\patil\AppData\Local\Temp\_MEI103562\xgboost\xgboost.dll C:\Users\patil\AppData\Local\Temp\_MEI103562\xgboost\../../lib/xgboost.dll C:\Users\patil\AppData\Local\Temp\_MEI103562\xgboost\./lib/xgboost.dll C:\Users\patil\AppData\Local\Temp\_MEI103562\xgboost\xgboost.dll C:\Users\patil\AppData\Local\Temp\_MEI103562\xgboost\../../windows/x64/Release/xgboost.dll C:\Users\patil\AppData\Local\Temp\_MEI103562\xgboost\./windows/x64/Release/xgboost.dll ------------------------------------------------------------------------------------------------------------------------------------------------- converted the python script to EXE but got the above error while running the EXE. Code is working fine before converting to exe but got this error after conversion only.
kerem 2026-02-26 12:20:52 +03:00
  • closed this issue
  • added the
    Stale
    label
Author
Owner

@brentvollebregt commented on GitHub (Mar 17, 2022):

Did you do any searching before creating this issue? I searched for "xgboost pyinstaller" and found this SO answer that may be helpful. It doesn't look like this is an auto-py-to-exe.

Next time you create an issue, could you please be a bit more clear about what you tried, what you expected and what happened. A minimal reproducible example is usually very helpful.

<!-- gh-comment-id:1070785361 --> @brentvollebregt commented on GitHub (Mar 17, 2022): Did you do any searching before creating this issue? I searched for "xgboost pyinstaller" and found [this SO answer](https://stackoverflow.com/a/58145549) that may be helpful. It doesn't look like this is an auto-py-to-exe. Next time you create an issue, could you please be a bit more clear about what you tried, what you expected and what happened. A minimal reproducible example is usually very helpful.
Author
Owner

@github-actions[bot] commented on GitHub (May 17, 2022):

This issue is stale because it has been open for 60 days with no activity. Remove stale label or comment on this issue or it will be closed in 5 days.

<!-- gh-comment-id:1128296331 --> @github-actions[bot] commented on GitHub (May 17, 2022): This issue is stale because it has been open for 60 days with no activity. Remove stale label or comment on this issue or it will be closed in 5 days.
Author
Owner

@github-actions[bot] commented on GitHub (May 22, 2022):

Closing issue due to no activity in more than 60 days.

<!-- gh-comment-id:1133796872 --> @github-actions[bot] commented on GitHub (May 22, 2022): Closing issue due to no activity in more than 60 days.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/auto-py-to-exe#224
No description provided.