无法将 pyexcel-xls 与 pyinstaller python 3.6 版一起使用

当我创建一个 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 可执行文件不起作用。python 3.4.4 版, 因为我试图将更改后的文件复制到我的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 

https://files.pythonhosted.org/packages/c2/d7/90f34cb0d83a6c5631cf71dfe64cc1054598c843a92b400e55675cc2ac37/pip-18.1-py2.py3-none-any.whl


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' -----


红糖糍粑
浏览 450回答 1
1回答

四季花海

由于我没有使用 pyexcel 找到合适的解决方案,因此我发现其他模块可以与 PyInstaller 完美配合。模块名称是 xlrd。
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

Python