python - auto-py-exe - 无法转换 (.py) 脚本 - “一个二进制文件添加了两个内部名称”
问题描述
得到以下错误。怎么了?为什么这个错误“一个二进制文件添加了两个内部名称”闪烁?有没有冲突?
17175 INFO: Looking for dynamic libraries
17971 WARNING: lib not found: python35.dll dependency of C:\Users\Administrator\AppData\Local\Programs\Python\Python37\lib\site-packages\sip.pyd
27100 INFO: Looking for eggs
27100 INFO: Using Python library C:\Users\Administrator\AppData\Local\Programs\Python\Python37\python37.dll
27100 INFO: Found binding redirects:
[]
27100 INFO: Warnings written to C:\Users\Administrator\AppData\Local\Programs\Python\Python37\auto-py-to-exe-master\build\Image Processor\warn-Image Processor.txt
27196 INFO: Graph cross-reference written to C:\Users\Administrator\AppData\Local\Programs\Python\Python37\auto-py-to-exe-master\build\Image Processor\xref-Image Processor.html
27230 INFO: checking PYZ
27230 INFO: Building PYZ because PYZ-00.toc is non existent
27230 INFO: Building PYZ (ZlibArchive) C:\Users\Administrator\AppData\Local\Programs\Python\Python37\auto-py-to-exe-master\build\Image Processor\PYZ-00.pyz
28279 INFO: Building PYZ (ZlibArchive) C:\Users\Administrator\AppData\Local\Programs\Python\Python37\auto-py-to-exe-master\build\Image Processor\PYZ-00.pyz completed successfully.
28295 INFO: checking PKG
28295 INFO: Building PKG because PKG-00.toc is non existent
28295 INFO: Building PKG (CArchive) PKG-00.pkg
28720 WARNING: One binary added with two internal names.
28720 WARNING: ('libGLESv2.dll',
'C:\\Users\\Arvind1\\AppData\\Roaming\\Python\\Python37\\site-packages\\PyQt5\\Qt\\bin\\libGLESv2.dll',
'BINARY')
28720 WARNING: was placed previously at
28720 WARNING: ('PyQt5\\Qt\\bin\\libGLESv2.dll',
'C:\\Users\\Arvind1\\AppData\\Roaming\\Python\\Python37\\site-packages\\PyQt5\\Qt\\bin\\libGLESv2.dll',
'BINARY')
解决方案
在 PyInstaller 3.4 版本中,我也收到了这个警告。(至少关于One binary added with two internal names
和libGLESv2.dll
/的部分PyQt5\\Qt\\bin\\libGLESv2.dll
。)在develop
项目的分支上(这是本文发布时已知的工作提交),此警告仍然出现,但至少我的项目现在可以成功构建。
推荐阅读
- javascript - 反应路由器 dom 尾部斜杠给出错误而不是转到 404 页面
- angular - Angular中的页面重定向问题
- nlp - 诸如 GloVe 之类的单词表示是否也可以指示具有相似阅读/难度级别的单词?
- javascript - 无法将参数传递给 API,变得未定义
- microservices - 即使在 twilio 帐户中验证号码后也会产生错误
- r - 如何为叠加线图创建图例
- vba - Sharepoint 列表加入 VBA
- javascript - 有没有更好的方法在没有承诺的情况下返回异步数据?
- powershell - 使用 powershell 在 NIC 中设置 MTU
- python - 如何避免 Python 中 Altair 图中的文本重叠