ERROR:tabula.io:Error from tabula-java
1.现象
直接运行代码时,代码正常运行。
写完python代码打包exe时正常,exe运行时报警。报警详情如下图
2.原因
打包为exe的时候tabula包没有打包进去,因此报错
3.解决方案
在打包exe时生成的xxx.spec 文件中添加
from PyInstaller.utils.hooks import collect_data_files
和
datas=collect_data_files("tabula"),
然后运行(注意:不要再运行pyinstaller ResolutionPDF.py,不然xxx.spec重新生成,之前的配置就没有生效了)
pyinstaller ResolutionPDF.spec
打包后的exe可以正常运行
ERROR:tabula.io:Error from tabula-java相关推荐
- 《Spark系列-SparkCore》IDEA运行Spark代码异常 -> Error:scalac: IO error while decoding \Demo2.scala with UTF-8
IDEA运行Spark代码异常 -> Error:scalac: IO error while decoding \Demo2.scala with UTF-8 IDEA异常 Error:sca ...
- JDBC Connection Fails With SEVERE: IO Error: Connection Reset By Peer解决方法
问题描述: 2021.10.20 研发同事反馈一个关于JDBC Connection错误的问题,具体情况如下: JDBC connection with TCPS from Orcle Enterpr ...
- 阿里云 java程序 链接redis 报错 : IO Error: Connection reset
阿里云 java程序 链接redis 报错 : IO Error: Connection reset 报错内容 2018-03-07 17:33:41.224 ERROR [main][Worker. ...
- ERROR manager.SqlManager: Error executing statement: java.sql.SQLException: Access denied for user
使用sqoop从MySQL数据库导出数据时: [root@node3 bin]# ./sqoop import --connect jdbc:mysql://192.168.0.109:3306/fa ...
- IO Error: Connection reset by peer, Authentication lapse 140354 ms.问题的解决
今天在公司服务器上搭建新环境,部署项目时,一切准备就绪了,但是却发现项目总是启动失败,启动日志报:"IO Error: Connection reset by peer, Authentic ...
- java error could_Java.lang.Error: Properties init: Could not determine current working directory.
用shell脚本编译项目,重新发布后,启动tomcat出现错误: Error occurred during initialization of VM java.lang.Error: Propert ...
- eclipse生成java项目出错,Java项目使用了HttpClients相关包,用eclipse导出jar包就不能正常运行Error: A JNI error has occurred...
代码是execute里面设置null不会有问题,如果是对象,就会报错.代码如下: HttpGet get = new HttpGet(); HttpResponse response = HttpCl ...
- 在hive的beeline下,Error: org.apache.thrift.transport.TTransportException: java.net.SocketException: Bro
Error: org.apache.thrift.transport.TTransportException: java.net.SocketException: Brok en pipe (Writ ...
- Hive belline提交命令Error: org.apache.thrift.transport.TTransportException: java.net.SocketException:
Error: org.apache.thrift.transport.TTransportException: java.net.SocketException: Brok en pipe (Writ ...
最新文章
- 亿级别记录的mongodb分页查询java代码实现
- markdown 本地链接_Markdown的使用
- Swing中 paint()与paintComponent()的区别
- 正则过滤 emoji
- 你所想要了解的美国人工智能专业
- 师范类大学计算机排名,2018中国师范类大学排行榜,北京师范大学第一
- JQ siblings()方法 原生 js 获取所有兄弟节点
- 铁路轨道设备概述1:铁路轨道基础设备
- 如何设置对话框的最大(小)高度与宽度
- 计算机应用课程设计样式大全,《计算机应用基础》课程设计
- PS怎么修改数字如 2011变为2013
- 802.11网络协议细节(五)
- Ubuntu装系统后重启卡死解决办法(超详细)
- android studio ant编译,Android Studio编译cocos2dx项目
- 【不做手机控】如何屏蔽微信朋友圈?
- PCL点云学习 十二(RoPs 特征与惯性矩描述子)
- 用小牛翻译API让ChatGPT给我做个在线翻译网站
- 纪念中国反毒之父—王江民
- (HDU2031 C++) 进制转换
- SQL Server 数据类型详解