自动py-exe-无法转换(.py)脚本-“添加了两个内部名称的二进制文件”

时间:2018-11-16 13:41:46

标签: python python-3.x pyqt5 pyinstaller

收到以下错误。 怎么了?为什么此错误“一个二进制文件加上两个内部名称”闪烁?有冲突吗?

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

1 个答案:

答案 0 :(得分:0)

在PyInstaller 3.4发行版上,我也收到此警告。 (至少有关One binary added with two internal nameslibGLESv2.dll / PyQt5\\Qt\\bin\\libGLESv2.dll的部分。)在项目(this is a known working commit at the time of this post)的develop分支上,此警告仍会出现,但是至少我的项目现在可以成功构建。