2024-04-25 09:30:59 发布
网友
我正在使用py2exe工具生成exe,我正在使用openpyxl库。 获取导入错误。在
py2exe
```
from distutils.core import setup import py2exe setup( console=["Vector.py"], options = { "py2exe":{ "includes":["openpyxl"] } } )
****错误:***
问题:
我用.egg zip格式安装了openpyxl包,py2exe无法识别。在
openpyxl
解决方案:
我使用了链接py2exe.org/index.cgi/ExeWithEggs 并使用以下命令重新安装openpyxl:
easy_install always-unzip \\Python_Libraries\openpyxl-1.8.6\
问题:
我用.egg zip格式安装了
openpyxl
包,py2exe
无法识别。在解决方案:
我使用了链接py2exe.org/index.cgi/ExeWithEggs 并使用以下命令重新安装openpyxl:
easy_install always-unzip \\Python_Libraries\openpyxl-1.8.6\
相关问题 更多 >
编程相关推荐