- 博客(1)
- 收藏
- 关注
原创 在用pyinstaller打包项目时遇到错误:Cannot find XGBoost Library in the candidate path,因为缺少xgboost.dll文件
(通常在anaconda3\envs\虚拟环境\Lib\site-packages\xgboost),我的在:D:\anaconda3\envs\myPytorch\Lib\site-packages\xgboost中查找,但是最初xgboost包中没有这个dll文件。),了解到直接下载whl文件(或者使用镜像来下载)就能自动生成xgboost.dll文件。确实安装成功了,能使用,但用pyinstaller打包时会报错说缺少xgboost.dll文件(至少我是这样的)。但不知道为啥还是缺少dll文件。
2025-03-24 17:34:20
223
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人