当前位置:网站首页>Pyinstaller sklearn reports errors

Pyinstaller sklearn reports errors

2022-06-23 06:05:00 cjh_ hit

The program is in pycharm Can be executed normally

have access to pyinstaller Generate exe

But enforcement exe when , Always prompt no _reduce_python( I forgot what it was ) attribute

use hidden import It's no use
My solution : Delete sklearn Irrelevant in Library py file , Only those related to program execution are reserved py file , modify sklearn Of _init_.py, Delete irrelevant statements , Only the statements related to the required model related to program execution are retained .

原网站

版权声明
本文为[cjh_ hit]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/174/202206230423075041.html