无法在ubuntu 19.04中使用pyinstaller --onefile将python代码构建为二进制文件

问题描述

我们尝试使用pyinstaller --onefile将python代码转换为二进制文件。

以下是我们正在使用的软件包

Python3.7.5 pip3 install django == 3.0.5 python-dateutil == 2.8.1 nltk == 3.5 spacy == 2.2.4 gensim == 3.8.2 pandas == 1.0.3 clickhouse_driver == 0.1.3 numpy == 1.18.1 sklearn == 0.0统计scipy == 1.4.1 statsmodels == 0.11.0 seaborn == 0.10.0 matplotlib == 3.1.3 word2number == 1.1 n2w == 0.1.3 pyLDAvis == 2.1.2 textblob == 0.15。 3 xgboost plot_metric == 0.0.6 pmdarima == 1.5.3 vaderSentiment == 3.3.1 imblearn == 0.0 gunicorn == 20.0.4 h2o == 3.30.0.1 python -m spacy下载en_core_web_sm

我们遇到错误:AttributeError:类型对象'statsmodels.tsa.statespace._kalman_filter.array'没有属性' reduce_cython '

以下是我们运行的步骤

步骤1:pyinstaller --onefile manage.py

第2步:pyinstaller manage.spec

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

依赖报错 idea导入项目后依赖报错,解决方案:https://blog....
错误1:代码生成器依赖和mybatis依赖冲突 启动项目时报错如下...
错误1:gradle项目控制台输出为乱码 # 解决方案:https://bl...
错误还原:在查询的过程中,传入的workType为0时,该条件不起...
报错如下,gcc版本太低 ^ server.c:5346:31: 错误:‘struct...