|
楼主 |
发表于 2024-6-6 11:12:45
|
显示全部楼层
(base) hanjiandeMacBook-Pro:FP-qrcode hanjian$ pyinstaller --debug=all -D FP-qrcode.py
2138 INFO: PyInstaller: 5.13.2
2138 INFO: Python: 3.7.4 (conda)
2163 INFO: Platform: Darwin-22.6.0-x86_64-i386-64bit
2165 INFO: wrote /Users/hanjian/Downloads/Private/Python/pythonProject/pythonProject/FP-qrcode/FP-qrcode.spec
2185 INFO: Extending PYTHONPATH with paths
['/Users/hanjian/Downloads/Private/Python/pythonProject/pythonProject/FP-qrcode']
pygame 2.3.0 (SDL 2.24.2, Python 3.7.4)
Hello from the pygame community. https://www.pygame.org/contribute.html
5881 INFO: checking Analysis
5882 INFO: Building Analysis because Analysis-00.toc is non existent
5883 INFO: Initializing module dependency graph...
5889 INFO: Caching module graph hooks...
5915 INFO: Analyzing base_library.zip ...
11294 INFO: Loading module hook 'hook-encodings.py' from '/opt/anaconda3/lib/python3.7/site-packages/PyInstaller/hooks'...
13414 INFO: Loading module hook 'hook-heapq.py' from '/opt/anaconda3/lib/python3.7/site-packages/PyInstaller/hooks'...
13884 INFO: Loading module hook 'hook-pickle.py' from '/opt/anaconda3/lib/python3.7/site-packages/PyInstaller/hooks'...
16147 INFO: Caching module dependency graph...
16318 INFO: running Analysis Analysis-00.toc
16328 INFO: Analyzing /Users/hanjian/Downloads/Private/Python/pythonProject/pythonProject/FP-qrcode/FP-qrcode.py
16403 INFO: Loading module hook 'hook-openpyxl.py' from '/opt/anaconda3/lib/python3.7/site-packages/_pyinstaller_hooks_contrib/hooks/stdhooks'...
16802 INFO: Loading module hook 'hook-numpy.py' from '/opt/anaconda3/lib/python3.7/site-packages/PyInstaller/hooks'...
17574 INFO: Loading module hook 'hook-platform.py' from '/opt/anaconda3/lib/python3.7/site-packages/PyInstaller/hooks'...
17725 INFO: Loading module hook 'hook-xml.py' from '/opt/anaconda3/lib/python3.7/site-packages/PyInstaller/hooks'...
19838 INFO: Loading module hook 'hook-difflib.py' from '/opt/anaconda3/lib/python3.7/site-packages/PyInstaller/hooks'...
20380 INFO: Loading module hook 'hook-pandas.py' from '/opt/anaconda3/lib/python3.7/site-packages/PyInstaller/hooks'...
Traceback (most recent call last):
File "/opt/anaconda3/lib/python3.7/site-packages/PyInstaller/isolated/_parent.py", line 372, in call
return isolated.call(function, *args, **kwargs)
File "/opt/anaconda3/lib/python3.7/site-packages/PyInstaller/isolated/_parent.py", line 293, in call
ok, output = loads(b64decode(self._read_handle.readline()))
EOFError: EOF read where object expected
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/anaconda3/bin/pyinstaller", line 10, in <module>
sys.exit(_console_script_run())
File "/opt/anaconda3/lib/python3.7/site-packages/PyInstaller/__main__.py", line 194, in _console_script_run
run()
File "/opt/anaconda3/lib/python3.7/site-packages/PyInstaller/__main__.py", line 180, in run
run_build(pyi_config, spec_file, **vars(args))
File "/opt/anaconda3/lib/python3.7/site-packages/PyInstaller/__main__.py", line 61, in run_build
PyInstaller.building.build_main.main(pyi_config, spec_file, **kwargs)
File "/opt/anaconda3/lib/python3.7/site-packages/PyInstaller/building/build_main.py", line 1019, in main
build(specfile, distpath, workpath, clean_build)
File "/opt/anaconda3/lib/python3.7/site-packages/PyInstaller/building/build_main.py", line 944, in build
exec(code, spec_namespace)
File "/Users/hanjian/Downloads/Private/Python/pythonProject/pythonProject/FP-qrcode/FP-qrcode.spec", line 20, in <module>
noarchive=True,
File "/opt/anaconda3/lib/python3.7/site-packages/PyInstaller/building/build_main.py", line 429, in __init__
self.__postinit__()
File "/opt/anaconda3/lib/python3.7/site-packages/PyInstaller/building/datastruct.py", line 184, in __postinit__
self.assemble()
File "/opt/anaconda3/lib/python3.7/site-packages/PyInstaller/building/build_main.py", line 590, in assemble
priority_scripts.append(self.graph.add_script(script))
File "/opt/anaconda3/lib/python3.7/site-packages/PyInstaller/depend/analysis.py", line 268, in add_script
self._top_script_node = super().add_script(pathname)
File "/opt/anaconda3/lib/python3.7/site-packages/PyInstaller/lib/modulegraph/modulegraph.py", line 1359, in add_script
self._process_imports(n)
File "/opt/anaconda3/lib/python3.7/site-packages/PyInstaller/lib/modulegraph/modulegraph.py", line 2811, in _process_imports
target_modules = self._safe_import_hook(*import_info, **kwargs)
File "/opt/anaconda3/lib/python3.7/site-packages/PyInstaller/depend/analysis.py", line 432, in _safe_import_hook
return super()._safe_import_hook(target_module_partname, source_module, target_attr_names, level, edge_attr)
File "/opt/anaconda3/lib/python3.7/site-packages/PyInstaller/lib/modulegraph/modulegraph.py", line 2264, in _safe_import_hook
target_attr_names=None, level=level, edge_attr=edge_attr)
File "/opt/anaconda3/lib/python3.7/site-packages/PyInstaller/lib/modulegraph/modulegraph.py", line 1432, in import_hook
source_package, target_module_partname, level)
File "/opt/anaconda3/lib/python3.7/site-packages/PyInstaller/lib/modulegraph/modulegraph.py", line 1611, in _find_head_package
target_module_headname, target_package_name, source_package)
File "/opt/anaconda3/lib/python3.7/site-packages/PyInstaller/depend/analysis.py", line 479, in _safe_import_module
return super()._safe_import_module(module_basename, module_name, parent_package)
File "/opt/anaconda3/lib/python3.7/site-packages/PyInstaller/lib/modulegraph/modulegraph.py", line 1992, in _safe_import_module
self._process_imports(n)
File "/opt/anaconda3/lib/python3.7/site-packages/PyInstaller/lib/modulegraph/modulegraph.py", line 2811, in _process_imports
target_modules = self._safe_import_hook(*import_info, **kwargs)
File "/opt/anaconda3/lib/python3.7/site-packages/PyInstaller/depend/analysis.py", line 432, in _safe_import_hook
return super()._safe_import_hook(target_module_partname, source_module, target_attr_names, level, edge_attr)
File "/opt/anaconda3/lib/python3.7/site-packages/PyInstaller/lib/modulegraph/modulegraph.py", line 2264, in _safe_import_hook
target_attr_names=None, level=level, edge_attr=edge_attr)
File "/opt/anaconda3/lib/python3.7/site-packages/PyInstaller/lib/modulegraph/modulegraph.py", line 1444, in import_hook
submodule = self._safe_import_module(head, mname, submodule)
File "/opt/anaconda3/lib/python3.7/site-packages/PyInstaller/depend/analysis.py", line 479, in _safe_import_module
return super()._safe_import_module(module_basename, module_name, parent_package)
File "/opt/anaconda3/lib/python3.7/site-packages/PyInstaller/lib/modulegraph/modulegraph.py", line 1992, in _safe_import_module
self._process_imports(n)
File "/opt/anaconda3/lib/python3.7/site-packages/PyInstaller/lib/modulegraph/modulegraph.py", line 2811, in _process_imports
target_modules = self._safe_import_hook(*import_info, **kwargs)
File "/opt/anaconda3/lib/python3.7/site-packages/PyInstaller/depend/analysis.py", line 432, in _safe_import_hook
return super()._safe_import_hook(target_module_partname, source_module, target_attr_names, level, edge_attr)
File "/opt/anaconda3/lib/python3.7/site-packages/PyInstaller/lib/modulegraph/modulegraph.py", line 2264, in _safe_import_hook
target_attr_names=None, level=level, edge_attr=edge_attr)
File "/opt/anaconda3/lib/python3.7/site-packages/PyInstaller/lib/modulegraph/modulegraph.py", line 1432, in import_hook
source_package, target_module_partname, level)
File "/opt/anaconda3/lib/python3.7/site-packages/PyInstaller/lib/modulegraph/modulegraph.py", line 1611, in _find_head_package
target_module_headname, target_package_name, source_package)
File "/opt/anaconda3/lib/python3.7/site-packages/PyInstaller/depend/analysis.py", line 479, in _safe_import_module
return super()._safe_import_module(module_basename, module_name, parent_package)
File "/opt/anaconda3/lib/python3.7/site-packages/PyInstaller/lib/modulegraph/modulegraph.py", line 1992, in _safe_import_module
self._process_imports(n)
File "/opt/anaconda3/lib/python3.7/site-packages/PyInstaller/lib/modulegraph/modulegraph.py", line 2811, in _process_imports
target_modules = self._safe_import_hook(*import_info, **kwargs)
File "/opt/anaconda3/lib/python3.7/site-packages/PyInstaller/depend/analysis.py", line 432, in _safe_import_hook
return super()._safe_import_hook(target_module_partname, source_module, target_attr_names, level, edge_attr)
File "/opt/anaconda3/lib/python3.7/site-packages/PyInstaller/lib/modulegraph/modulegraph.py", line 2264, in _safe_import_hook
target_attr_names=None, level=level, edge_attr=edge_attr)
File "/opt/anaconda3/lib/python3.7/site-packages/PyInstaller/lib/modulegraph/modulegraph.py", line 1432, in import_hook
source_package, target_module_partname, level)
File "/opt/anaconda3/lib/python3.7/site-packages/PyInstaller/lib/modulegraph/modulegraph.py", line 1611, in _find_head_package
target_module_headname, target_package_name, source_package)
File "/opt/anaconda3/lib/python3.7/site-packages/PyInstaller/depend/analysis.py", line 479, in _safe_import_module
return super()._safe_import_module(module_basename, module_name, parent_package)
File "/opt/anaconda3/lib/python3.7/site-packages/PyInstaller/lib/modulegraph/modulegraph.py", line 1992, in _safe_import_module
self._process_imports(n)
File "/opt/anaconda3/lib/python3.7/site-packages/PyInstaller/lib/modulegraph/modulegraph.py", line 2811, in _process_imports
target_modules = self._safe_import_hook(*import_info, **kwargs)
File "/opt/anaconda3/lib/python3.7/site-packages/PyInstaller/depend/analysis.py", line 368, in _safe_import_hook
excluded_imports = self._find_all_excluded_imports(source_module.identifier)
File "/opt/anaconda3/lib/python3.7/site-packages/PyInstaller/depend/analysis.py", line 356, in _find_all_excluded_imports
excluded_imports.update(module_hook.excludedimports)
File "/opt/anaconda3/lib/python3.7/site-packages/PyInstaller/depend/imphook.py", line 316, in __getattr__
self._load_hook_module()
File "/opt/anaconda3/lib/python3.7/site-packages/PyInstaller/depend/imphook.py", line 383, in _load_hook_module
self._hook_module = importlib_load_source(self.hook_module_name, self.hook_filename)
File "/opt/anaconda3/lib/python3.7/site-packages/PyInstaller/compat.py", line 613, in importlib_load_source
return mod_loader.load_module()
File "<frozen importlib._bootstrap_external>", line 407, in _check_name_wrapper
File "<frozen importlib._bootstrap_external>", line 907, in load_module
File "<frozen importlib._bootstrap_external>", line 732, in load_module
File "<frozen importlib._bootstrap>", line 265, in _load_module_shim
File "<frozen importlib._bootstrap>", line 696, in _load
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/opt/anaconda3/lib/python3.7/site-packages/PyInstaller/hooks/hook-pandas.py", line 15, in <module>
hiddenimports = collect_submodules('pandas._libs')
File "/opt/anaconda3/lib/python3.7/site-packages/PyInstaller/utils/hooks/__init__.py", line 603, in collect_submodules
if not is_package(package):
File "/opt/anaconda3/lib/python3.7/site-packages/PyInstaller/utils/hooks/__init__.py", line 483, in is_package
return isolated.call(_is_package, module_name)
File "/opt/anaconda3/lib/python3.7/site-packages/PyInstaller/isolated/_parent.py", line 372, in call
return isolated.call(function, *args, **kwargs)
File "/opt/anaconda3/lib/python3.7/site-packages/PyInstaller/isolated/_parent.py", line 247, in __exit__
self._write_handle.flush()
BrokenPipeError: [Errno 32] Broken pipe
|
|