人
testform-888的Python项目详细描述
注意:PyInstaller不使用此目录扩展PYTHONPATH(sys.path) 包含捆绑的第三方库的
一些用户抱怨PyInstaller失败,因为他们的应用正在使用 PyInstaller也使用一些库的旧版本,这就是为什么 已删除扩展sys.path
所有库都调整为可导入:
from PyInstaller.lib.LIB_NAME import xyz
在库中替换导入,如:
from altgraph import y from modulegraph import z
带相对前缀:
from ..altgraph import y from ..modulegraph import z
阿尔特格拉夫
将固定版本字符串添加到./altgraph/\u init.py:
# For PyInstaller/lib/ define the version here, since there is no # package-resource. __version__ = '0.13'
模块图形
https://bitbucket.org/ronaldoussoren/modulegraph/downloads
解决以下问题并合并拉取请求时,应使用正式的modulegraph版本 https://bitbucket.org/ronaldoussoren/modulegraph/issues/28/__main__-module-being-analyzed-for-wheel
将固定版本字符串添加到./modulegraph/\u init.py:
# For PyInstaller/lib/ define the version here, since there is no # package-resource. __version__ = '0.13'