小编Yas*_*waj的帖子

无法将pyexcel-xls与pyinstaller一起使用。python可执行文件不起作用。python版本3.4.4

该程序在使用以下程序运行时可以运行:

Python filename.py
Run Code Online (Sandbox Code Playgroud)

但是当我使用“ pyinstaller ” 创建其可执行文件时

pyinstaller -F filename.py
Run Code Online (Sandbox Code Playgroud)

可执行文件已成功创建,但脚本执行失败,并引发以下错误。

Traceback (most recent call last):
  File "site-packages\pyexcel_io\manager.py", line 160, in create_reader
  File "site-packages\pyexcel_io\manager.py", line 222, in _get_a_handler
pyexcel_io.manager.NoSupportingPluginFound: No suitable library found for xls

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "script.py", line 8, in <module>
  File "site-packages\pyexcel_xls\__init__.py", line 29, in get_data
  File "site-packages\pyexcel_io\io.py", line 36, in get_data
  File "site-packages\pyexcel_io\io.py", line 126, in load_data
  File "site-packages\pyexcel_io\manager.py", line 171, in create_reader
pyexcel_io.manager.SupportingPluginAvailableButNotInstalled: …
Run Code Online (Sandbox Code Playgroud)

python windows executable xls pyinstaller

3
推荐指数
1
解决办法
809
查看次数

标签 统计

executable ×1

pyinstaller ×1

python ×1

windows ×1

xls ×1