|
|
马上注册,结交更多好友,享用更多功能^_^
您需要 登录 才可以下载或查看,没有账号?立即注册
x
C:\Users\yang>pyinstaller -F c:\python-test\gadataGL.py
821 INFO: PyInstaller: 3.5
822 INFO: Python: 3.5.2
822 INFO: Platform: Windows-7-6.1.7601-SP1
823 INFO: wrote C:\Users\yang\gadataGL.spec
844 INFO: UPX is not available.
847 INFO: Extending PYTHONPATH with paths
['c:\\python-test', 'C:\\Users\\yang']
847 INFO: checking Analysis
8487 INFO: checking PYZ
10267 INFO: checking PKG
10293 INFO: Building because toc changed
10293 INFO: Building PKG (CArchive) PKG-00.pkg
27298 INFO: Redirecting Microsoft.VC90.CRT version (9, 0, 21022, 8) -> (9, 0, 30729, 6161)
27299 INFO: Updating manifest in C:\Users\yang\AppData\Roaming\pyinstaller\bincache00_py35_64bit\libpng16.dll
27302 INFO: Updating resource type 24 name 2 language 1033
27302 ERROR: C:\Users\yang\AppData\Roaming\pyinstaller\bincache00_py35_64bit\libpng16.dll
Traceback (most recent call last):
File "c:\anaconda3\lib\runpy.py", line 184, in _run_module_as_main
"__main__", mod_spec)
File "c:\anaconda3\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Anaconda3\Scripts\pyinstaller.exe\__main__.py", line 9, in <module>
File "c:\anaconda3\lib\site-packages\PyInstaller\__main__.py", line 111, in run
run_build(pyi_config, spec_file, **vars(args))
File "c:\anaconda3\lib\site-packages\PyInstaller\__main__.py", line 63, in run_build
PyInstaller.building.build_main.main(pyi_config, spec_file, **kwargs)
File "c:\anaconda3\lib\site-packages\PyInstaller\building\build_main.py", line 844, in main
build(specfile, kw.get('distpath'), kw.get('workpath'), kw.get('clean_build'))
File "c:\anaconda3\lib\site-packages\PyInstaller\building\build_main.py", line 791, in build
exec(code, spec_namespace)
File "C:\Users\yang\gadataGL.spec", line 33, in <module>
console=True )
File "c:\anaconda3\lib\site-packages\PyInstaller\building\api.py", line 435, in __init__
upx_exclude=self.upx_exclude
File "c:\anaconda3\lib\site-packages\PyInstaller\building\api.py", line 197, in __init__
self.__postinit__()
File "c:\anaconda3\lib\site-packages\PyInstaller\building\datastruct.py", line 158, in __postinit__
self.assemble()
File "c:\anaconda3\lib\site-packages\PyInstaller\building\api.py", line 262, in assemble
dist_nm=inm)
File "c:\anaconda3\lib\site-packages\PyInstaller\building\utils.py", line 340, in checkCache
[language])
File "c:\anaconda3\lib\site-packages\PyInstaller\utils\win32\winmanifest.py", line 939, in update_resources
names, languages)
File "c:\anaconda3\lib\site-packages\PyInstaller\utils\win32\winmanifest.py", line 1017, in UpdateManifestResourcesFromXML
languages or [0, "*"])
File "c:\anaconda3\lib\site-packages\PyInstaller\utils\win32\winresource.py", line 202, in UpdateResources
win32api.UpdateResource(hdst, type_, name, data, language)
File "c:\anaconda3\lib\site-packages\win32ctypes\pywin32\win32api.py", line 269, in UpdateResource
handle, type, name, language, lp_data, len(lp_data))
File "c:\anaconda3\lib\site-packages\win32ctypes\core\cffi\_resource.py", line 129, in _UpdateResource
lpData = ffi.from_buffer(cData)
File "c:\anaconda3\lib\site-packages\cffi\api.py", line 340, in from_buffer
return self._backend.from_buffer(self.BCharA, python_buffer)
TypeError: from_buffer() cannot return the address of the raw string within a bytes or unicode object
|
|