当我创建一个exe文件并尝试在此处运行该文件时,我遇到了一个异常:
Exception in Tkinter callback
Traceback (most recent call last):
File "tkinter\__init__.py", line 1702, in __call__
File "static_data_final01.py", line 86, in lets_go
File "static_data_final01.py", line 99, in EMT
File "site-packages\pyexcel\core.py", line 111, in save_book_as
File "site-packages\pyexcel\internal\core.py", line 33, in get_book_stream
File "site-packages\pyexcel\plugins\sources\file_input.py", line 39, in
get_data
File "site-packages\pyexcel\plugins\parsers\excel.py", line 18, in
parse_file
File "site-packages\pyexcel\plugins\parsers\excel.py", line 39, in
_parse_any
File "site-packages\pyexcel_io\io.py", line 71, in get_data
File "site-packages\pyexcel_io\io.py", line 89, in _get_data
File "site-packages\pyexcel_io\io.py", line 185, in load_data
File "site-packages\pyexcel_io\plugins.py", line 90, in get_a_plugin
File "site-packages\lml\plugin.py", line 293, in load_me_now
File "site-packages\pyexcel_io\plugins.py", line 107, in raise_exception
pyexcel_io.exceptions.SupportingPluginAvailableButNotInstalled: **Please
install pyexcel-xls**
请不要说这张票是:Unable to use pyexcel-xls with pyinstaller . python executable not working . python version 3.4.4的副本,因为我试图将the changed file复制到我的 pyexcel_io / __ init __。py 中,但仍然没有工作
我正在使用Visual Studio 2017 Python 3.6,并且当我尝试 pip install pyexcel 或 pip install pyexcel-io 时,我得到了:
----- Installing 'pip install pyexcel' -----
Collecting pip
Using cached
Collecting install
Could not find a version that satisfies the requirement install (from
versions: )
No matching distribution found for install
----- Failed to install 'pip install pyexcel' -----
这是我从Cmd运行的命令: pyinstaller.exe-一个文件static_data_final01.py-隐藏导入pyexcel_io.readers.csvr-隐藏导入pyexcel_io.readers.csvz-隐藏导入pyexcel_io.readers.tsv-隐藏导入pyexcel_io.readers.tsvz- -隐藏导入pyexcel_io.writers.csvw-隐藏导入pyexcel_io.readers.csvz-隐藏导入pyexcel_io.readers.tsv-隐藏导入pyexcel_io.readers.tsvz-隐藏导入pyexcel_io.database.importers。 django-隐藏导入pyexcel_io.database.importers.sqlalchemy --django-隐藏导入pyexcel_io.database.exporters.django-隐藏导入pyexcel_io.database.exporters.sqlalchemy-隐藏导入pyexcel_xls-隐藏导入pyexcel_xls。 xlsr-隐藏导入pyexcel_xls.xlsw-隐藏输入pyexcel.plugins-隐藏输入pyexcel.plugins.parsers-隐藏输入pyexcel.plugins.renderers-隐藏输入pyexcel.plugins.sources-隐藏-导入pyexcel.plugins.sources.file_input-隐藏导入pyexcel.plugins.parsers.excel-隐藏导入pyexcel_xls-隐藏导入pyexcel_xls xls-隐藏导入pyexcel_xlsx-隐藏导入pyexcel_xlsx.xlsx-隐藏导入pyexcel_xls-隐藏导入pyexcel_xls.xls
此外,当我从Visual Studio运行脚本时,我的应用程序运行正常!