当前位置:网站首页>Pyinstaller sklearn报错的问题
Pyinstaller sklearn报错的问题
2022-06-23 04:23:00 【cjh_hit】
程序在pycharm中可以正常执行
可以使用pyinstaller生成exe
但执行exe时,总是提示没有 _reduce_python(忘记具体是啥了)属性
用hidden import也没用
我的解决方法:删掉sklearn库中无关py文件,只保留与程序执行相关的py文件,修改sklearn的_init_.py,删除无关语句,只保留与程序执行相关所需模型相关的语句。
边栏推荐
- PAT 乙等 1009 C语言
- PAT 乙等 1023 组个最小数
- Operating mongodb in node
- 内存分析与内存泄漏检测
- True MySQL interview question (21) - Finance - overdue loan
- Digital collections - new investment opportunities
- TCP/IP 详解(第 2 版) 笔记 / 3 链路层 / 3.4 网桥与交换机
- Raspberry pie assert preliminary exercise
- A bit of knowledge - folding forging and Damascus steel
- 数字藏品市场才刚刚开始
猜你喜欢

True MySQL interview question (24) -- row column exchange

Dolphin scheduler dolphin scheduling upgrade code transformation -upgradedolphin scheduler

新课上线 | 每次 5 分钟,轻松玩转阿里云容器服务!

ant使用总结(三):批量打包apk

jvm-05.垃圾回收

How does win11 enable mobile hotspot? How to enable mobile hotspot in win11

【Cocos2d-x】可擦除的Layer:ErasableLayer

最优传输理论下对抗攻击可解释性

Three most advanced certifications, two innovative technologies and two outstanding cases, Alibaba cloud appeared at the cloud native industry conference

Real MySQL interview question (XXVIII) -- case - Analysis of indicators of communication operators
随机推荐
ssm项目搭建
PAT 乙等 1013 C语言
Leetcode topic resolution divide two integers
[graduation season u; advanced technology Er] farewell to the confused self in the past two years. Regroup, junior I'm coming
How can digital collections empower economic entities?
AHA C language Chapter 7 you can do more with it (talks 27-28)
Three most advanced certifications, two innovative technologies and two outstanding cases, Alibaba cloud appeared at the cloud native industry conference
ant使用总结(一):使用ant自动打包apk
Operating mongodb in node
数字藏品市场才刚刚开始
Real MySQL interview questions (XXVI) -- didi 2020 written examination questions
PAT 乙等 1019 C语言
June 22, 2022: golang multiple choice question, what does the following golang code output? A:3; B:1; C:4; D: Compilation failed. package main import ( “fmt“ ) func mai
【Cocos2d-x】可擦除的Layer:ErasableLayer
Arctime makes Chinese and English subtitle video
Real MySQL interview question (XXVIII) -- case - Analysis of indicators of communication operators
Android handler memory leak kotlin memory leak handling
Digital collections - new investment opportunities
HierarchyViewer工具找不到 HierarchyViewer位置
Alibaba cloud object storage oss+picgo+typera implements the construction map