Open InfernalAzazel opened 1 year ago
pip
is trying to build a wheel (and fails) - this building process should not happen for pandas
at least by default on Windows and therefore Wine - it has pre-built wheels available for Windows and CPython. I am suspecting this is an architecture / version issue. You are running in 32bit mode (wenv
default setting) and with Windows Python 3.10. There is no pre-built 32 bit wheel for 3.10 on Windows at the moment. For Python 3.9 there is, so you could go for an older version of Python. Or, you switch to 64 bit where there is also a wheel available for Python 3.10.
pip
is trying to build a wheel (and fails) - this building process should not happen forpandas
at least by default on Windows and therefore Wine - it has pre-built wheels available for Windows and CPython. I am suspecting this is an architecture / version issue. You are running in 32bit mode (wenv
default setting) and with Windows Python 3.10. There is no pre-built 32 bit wheel for 3.10 on Windows at the moment. For Python 3.9 there is, so you could go for an older version of Python. Or, you switch to 64 bit where there is also a wheel available for Python 3.10.
I have converted to wine64-bit, but this happens when pyinstaller compiles
WENV_ARCH=win64 WENV_PYTHONVERSION=3.10.0 wenv pyinstaller --onefile bdba_to_sbom.py
857 INFO: PyInstaller: 5.9.0
857 INFO: Python: 3.10.0
911 INFO: Platform: Windows-10-10.0.18362
912 INFO: wrote Z:\work\code\ds\bdba_to_sbom_v1.0\bdba_to_sbom.spec
919 INFO: UPX is not available.
922 INFO: Extending PYTHONPATH with paths
['Z:\\work\\code\\ds\\bdba_to_sbom_v1.0']
2064 INFO: checking Analysis
2064 INFO: Building Analysis because Analysis-00.toc is non existent
2065 INFO: Initializing module dependency graph...
2070 INFO: Caching module graph hooks...
2123 INFO: Analyzing base_library.zip ...
6185 INFO: Loading module hook 'hook-encodings.py' from 'Z:\\tmp\\wenv-88fbf1b9\
\lib\\site-packages\\PyInstaller\\hooks'...
7752 INFO: Loading module hook 'hook-heapq.py' from 'Z:\\tmp\\wenv-88fbf1b9\\lib
\\site-packages\\PyInstaller\\hooks'...
8542 INFO: Loading module hook 'hook-pickle.py' from 'Z:\\tmp\\wenv-88fbf1b9\\li
b\\site-packages\\PyInstaller\\hooks'...
9464 INFO: Caching module dependency graph...
9594 INFO: running Analysis Analysis-00.toc
9604 INFO: Adding Microsoft.Windows.Common-Controls to dependent assemblies of f
inal executable
required by Z:\tmp\wenv-88fbf1b9\python.exe
9712 INFO: Analyzing Z:\work\code\ds\bdba_to_sbom_v1.0\bdba_to_sbom.py
9822 INFO: Loading module hook 'hook-numpy.py' from 'C:\\python-3.10.0.stable\\L
ib\\site-packages\\numpy\\_pyinstaller'...
10917 INFO: Loading module hook 'hook-difflib.py' from 'Z:\\tmp\\wenv-88fbf1b9\\
lib\\site-packages\\PyInstaller\\hooks'...
11139 INFO: Loading module hook 'hook-multiprocessing.util.py' from 'Z:\\tmp\\we
nv-88fbf1b9\\lib\\site-packages\\PyInstaller\\hooks'...
11287 INFO: Loading module hook 'hook-xml.py' from 'Z:\\tmp\\wenv-88fbf1b9\\lib\
\site-packages\\PyInstaller\\hooks'...
11740 INFO: Loading module hook 'hook-platform.py' from 'Z:\\tmp\\wenv-88fbf1b9\
\lib\\site-packages\\PyInstaller\\hooks'...
11938 INFO: Loading module hook 'hook-sysconfig.py' from 'Z:\\tmp\\wenv-88fbf1b9
\\lib\\site-packages\\PyInstaller\\hooks'...
12247 INFO: Loading module hook 'hook-win32ctypes.core.py' from 'Z:\\tmp\\wenv-8
8fbf1b9\\lib\\site-packages\\PyInstaller\\hooks'...
14442 INFO: Loading module hook 'hook-pkg_resources.py' from 'Z:\\tmp\\wenv-88fb
f1b9\\lib\\site-packages\\PyInstaller\\hooks'...
18193 INFO: Processing pre-find module path hook distutils from 'Z:\\tmp\\wenv-8
8fbf1b9\\lib\\site-packages\\PyInstaller\\hooks\\pre_find_module_path\\hook-dist
utils.py'.
19242 INFO: Loading module hook 'hook-distutils.py' from 'Z:\\tmp\\wenv-88fbf1b9
\\lib\\site-packages\\PyInstaller\\hooks'...
19364 INFO: Loading module hook 'hook-xml.dom.domreg.py' from 'Z:\\tmp\\wenv-88f
bf1b9\\lib\\site-packages\\PyInstaller\\hooks'...
19972 INFO: Processing pre-safe import module hook gi from 'Z:\\tmp\\wenv-88fbf1
b9\\lib\\site-packages\\PyInstaller\\hooks\\pre_safe_import_module\\hook-gi.py'.
21323 INFO: Loading module hook 'hook-openpyxl.py' from 'Z:\\tmp\\wenv-88fbf1b9\
\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'...
22812 INFO: Loading module hook 'hook-xml.etree.cElementTree.py' from 'Z:\\tmp\\
wenv-88fbf1b9\\lib\\site-packages\\PyInstaller\\hooks'...
24720 INFO: Loading module hook 'hook-pandas.py' from 'Z:\\tmp\\wenv-88fbf1b9\\l
ib\\site-packages\\PyInstaller\\hooks'...
30909 INFO: Loading module hook 'hook-pytz.py' from 'Z:\\tmp\\wenv-88fbf1b9\\lib
\\site-packages\\PyInstaller\\hooks'...
Traceback (most recent call last):
File "runpy.py", line 196, in _run_module_as_main
File "runpy.py", line 86, in _run_code
File "Z:\tmp\wenv-88fbf1b9\Scripts\pyinstaller.exe\__main__.py", line 7, in <m
odule>
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\__main__.py", line 19
4, in _console_script_run
run()
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\__main__.py", line 18
0, in run
run_build(pyi_config, spec_file, **vars(args))
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\__main__.py", line 61
, in run_build
PyInstaller.building.build_main.main(pyi_config, spec_file, **kwargs)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\building\build_main.p
y", line 979, in main
build(specfile, distpath, workpath, clean_build)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\building\build_main.p
y", line 901, in build
exec(code, spec_namespace)
File "Z:\work\code\ds\bdba_to_sbom_v1.0\bdba_to_sbom.spec", line 7, in <module
>
a = Analysis(
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\building\build_main.p
y", line 414, in __init__
self.__postinit__()
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\building\datastruct.p
y", line 173, in __postinit__
self.assemble()
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\building\build_main.p
y", line 577, in assemble
priority_scripts.append(self.graph.add_script(script))
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\depend\analysis.py",
line 269, in add_script
self._top_script_node = super().add_script(pathname)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\lib\modulegraph\modul
egraph.py", line 1433, in add_script
self._process_imports(n)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\lib\modulegraph\modul
egraph.py", line 2850, in _process_imports
target_modules = self._safe_import_hook(*import_info, **kwargs)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\depend\analysis.py",
line 382, in _safe_import_hook
return super()._safe_import_hook(target_module_partname, source_module, targ
et_attr_names, level, edge_attr)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\lib\modulegraph\modul
egraph.py", line 2301, in _safe_import_hook
target_modules = self.import_hook(
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\lib\modulegraph\modul
egraph.py", line 1505, in import_hook
target_package, target_module_partname = self._find_head_package(
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\lib\modulegraph\modul
egraph.py", line 1684, in _find_head_package
target_package = self._safe_import_module(
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\depend\analysis.py",
line 429, in _safe_import_module
return super()._safe_import_module(module_basename, module_name, parent_pack
age)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\lib\modulegraph\modul
egraph.py", line 2062, in _safe_import_module
self._process_imports(n)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\lib\modulegraph\modul
egraph.py", line 2850, in _process_imports
target_modules = self._safe_import_hook(*import_info, **kwargs)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\depend\analysis.py",
line 382, in _safe_import_hook
return super()._safe_import_hook(target_module_partname, source_module, targ
et_attr_names, level, edge_attr)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\lib\modulegraph\modul
egraph.py", line 2301, in _safe_import_hook
target_modules = self.import_hook(
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\lib\modulegraph\modul
egraph.py", line 1518, in import_hook
submodule = self._safe_import_module(head, mname, submodule)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\depend\analysis.py",
line 429, in _safe_import_module
return super()._safe_import_module(module_basename, module_name, parent_pack
age)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\lib\modulegraph\modul
egraph.py", line 2062, in _safe_import_module
self._process_imports(n)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\lib\modulegraph\modul
egraph.py", line 2850, in _process_imports
target_modules = self._safe_import_hook(*import_info, **kwargs)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\depend\analysis.py",
line 382, in _safe_import_hook
return super()._safe_import_hook(target_module_partname, source_module, targ
et_attr_names, level, edge_attr)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\lib\modulegraph\modul
egraph.py", line 2301, in _safe_import_hook
target_modules = self.import_hook(
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\lib\modulegraph\modul
egraph.py", line 1518, in import_hook
submodule = self._safe_import_module(head, mname, submodule)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\depend\analysis.py",
line 429, in _safe_import_module
return super()._safe_import_module(module_basename, module_name, parent_pack
age)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\lib\modulegraph\modul
egraph.py", line 2062, in _safe_import_module
self._process_imports(n)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\lib\modulegraph\modul
egraph.py", line 2850, in _process_imports
target_modules = self._safe_import_hook(*import_info, **kwargs)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\depend\analysis.py",
line 382, in _safe_import_hook
return super()._safe_import_hook(target_module_partname, source_module, targ
et_attr_names, level, edge_attr)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\lib\modulegraph\modul
egraph.py", line 2301, in _safe_import_hook
target_modules = self.import_hook(
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\lib\modulegraph\modul
egraph.py", line 1518, in import_hook
submodule = self._safe_import_module(head, mname, submodule)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\depend\analysis.py",
line 429, in _safe_import_module
return super()._safe_import_module(module_basename, module_name, parent_pack
age)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\lib\modulegraph\modul
egraph.py", line 2062, in _safe_import_module
self._process_imports(n)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\lib\modulegraph\modul
egraph.py", line 2850, in _process_imports
target_modules = self._safe_import_hook(*import_info, **kwargs)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\depend\analysis.py",
line 382, in _safe_import_hook
return super()._safe_import_hook(target_module_partname, source_module, targ
et_attr_names, level, edge_attr)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\lib\modulegraph\modul
egraph.py", line 2301, in _safe_import_hook
target_modules = self.import_hook(
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\lib\modulegraph\modul
egraph.py", line 1518, in import_hook
submodule = self._safe_import_module(head, mname, submodule)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\depend\analysis.py",
line 429, in _safe_import_module
return super()._safe_import_module(module_basename, module_name, parent_pack
age)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\lib\modulegraph\modul
egraph.py", line 2062, in _safe_import_module
self._process_imports(n)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\lib\modulegraph\modul
egraph.py", line 2850, in _process_imports
target_modules = self._safe_import_hook(*import_info, **kwargs)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\depend\analysis.py",
line 382, in _safe_import_hook
return super()._safe_import_hook(target_module_partname, source_module, targ
et_attr_names, level, edge_attr)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\lib\modulegraph\modul
egraph.py", line 2301, in _safe_import_hook
target_modules = self.import_hook(
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\lib\modulegraph\modul
egraph.py", line 1518, in import_hook
submodule = self._safe_import_module(head, mname, submodule)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\depend\analysis.py",
line 429, in _safe_import_module
return super()._safe_import_module(module_basename, module_name, parent_pack
age)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\lib\modulegraph\modul
egraph.py", line 2062, in _safe_import_module
self._process_imports(n)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\lib\modulegraph\modul
egraph.py", line 2850, in _process_imports
target_modules = self._safe_import_hook(*import_info, **kwargs)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\depend\analysis.py",
line 382, in _safe_import_hook
return super()._safe_import_hook(target_module_partname, source_module, targ
et_attr_names, level, edge_attr)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\lib\modulegraph\modul
egraph.py", line 2301, in _safe_import_hook
target_modules = self.import_hook(
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\lib\modulegraph\modul
egraph.py", line 1518, in import_hook
submodule = self._safe_import_module(head, mname, submodule)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\depend\analysis.py",
line 429, in _safe_import_module
return super()._safe_import_module(module_basename, module_name, parent_pack
age)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\lib\modulegraph\modul
egraph.py", line 2062, in _safe_import_module
self._process_imports(n)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\lib\modulegraph\modul
egraph.py", line 2850, in _process_imports
target_modules = self._safe_import_hook(*import_info, **kwargs)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\depend\analysis.py",
line 382, in _safe_import_hook
return super()._safe_import_hook(target_module_partname, source_module, targ
et_attr_names, level, edge_attr)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\lib\modulegraph\modul
egraph.py", line 2510, in _safe_import_hook
self.import_hook(
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\lib\modulegraph\modul
egraph.py", line 1544, in import_hook
for target_submodule in self._import_importable_package_submodules(
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\lib\modulegraph\modul
egraph.py", line 1794, in _import_importable_package_submodules
submodule = self._safe_import_module(
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\depend\analysis.py",
line 429, in _safe_import_module
return super()._safe_import_module(module_basename, module_name, parent_pack
age)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\lib\modulegraph\modul
egraph.py", line 2062, in _safe_import_module
self._process_imports(n)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\lib\modulegraph\modul
egraph.py", line 2850, in _process_imports
target_modules = self._safe_import_hook(*import_info, **kwargs)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\depend\analysis.py",
line 382, in _safe_import_hook
return super()._safe_import_hook(target_module_partname, source_module, targ
et_attr_names, level, edge_attr)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\lib\modulegraph\modul
egraph.py", line 2301, in _safe_import_hook
target_modules = self.import_hook(
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\lib\modulegraph\modul
egraph.py", line 1518, in import_hook
submodule = self._safe_import_module(head, mname, submodule)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\depend\analysis.py",
line 429, in _safe_import_module
return super()._safe_import_module(module_basename, module_name, parent_pack
age)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\lib\modulegraph\modul
egraph.py", line 2062, in _safe_import_module
self._process_imports(n)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\lib\modulegraph\modul
egraph.py", line 2850, in _process_imports
target_modules = self._safe_import_hook(*import_info, **kwargs)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\depend\analysis.py",
line 382, in _safe_import_hook
return super()._safe_import_hook(target_module_partname, source_module, targ
et_attr_names, level, edge_attr)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\lib\modulegraph\modul
egraph.py", line 2301, in _safe_import_hook
target_modules = self.import_hook(
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\lib\modulegraph\modul
egraph.py", line 1518, in import_hook
submodule = self._safe_import_module(head, mname, submodule)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\depend\analysis.py",
line 429, in _safe_import_module
return super()._safe_import_module(module_basename, module_name, parent_pack
age)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\lib\modulegraph\modul
egraph.py", line 2062, in _safe_import_module
self._process_imports(n)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\lib\modulegraph\modul
egraph.py", line 2850, in _process_imports
target_modules = self._safe_import_hook(*import_info, **kwargs)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\depend\analysis.py",
line 382, in _safe_import_hook
return super()._safe_import_hook(target_module_partname, source_module, targ
et_attr_names, level, edge_attr)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\lib\modulegraph\modul
egraph.py", line 2301, in _safe_import_hook
target_modules = self.import_hook(
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\lib\modulegraph\modul
egraph.py", line 1518, in import_hook
submodule = self._safe_import_module(head, mname, submodule)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\depend\analysis.py",
line 429, in _safe_import_module
return super()._safe_import_module(module_basename, module_name, parent_pack
age)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\lib\modulegraph\modul
egraph.py", line 2062, in _safe_import_module
self._process_imports(n)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\lib\modulegraph\modul
egraph.py", line 2850, in _process_imports
target_modules = self._safe_import_hook(*import_info, **kwargs)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\depend\analysis.py",
line 382, in _safe_import_hook
return super()._safe_import_hook(target_module_partname, source_module, targ
et_attr_names, level, edge_attr)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\lib\modulegraph\modul
egraph.py", line 2301, in _safe_import_hook
target_modules = self.import_hook(
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\lib\modulegraph\modul
egraph.py", line 1518, in import_hook
submodule = self._safe_import_module(head, mname, submodule)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\depend\analysis.py",
line 429, in _safe_import_module
return super()._safe_import_module(module_basename, module_name, parent_pack
age)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\lib\modulegraph\modul
egraph.py", line 2062, in _safe_import_module
self._process_imports(n)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\lib\modulegraph\modul
egraph.py", line 2850, in _process_imports
target_modules = self._safe_import_hook(*import_info, **kwargs)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\depend\analysis.py",
line 382, in _safe_import_hook
return super()._safe_import_hook(target_module_partname, source_module, targ
et_attr_names, level, edge_attr)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\lib\modulegraph\modul
egraph.py", line 2301, in _safe_import_hook
target_modules = self.import_hook(
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\lib\modulegraph\modul
egraph.py", line 1518, in import_hook
submodule = self._safe_import_module(head, mname, submodule)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\depend\analysis.py",
line 429, in _safe_import_module
return super()._safe_import_module(module_basename, module_name, parent_pack
age)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\lib\modulegraph\modul
egraph.py", line 2062, in _safe_import_module
self._process_imports(n)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\lib\modulegraph\modul
egraph.py", line 2850, in _process_imports
target_modules = self._safe_import_hook(*import_info, **kwargs)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\depend\analysis.py",
line 382, in _safe_import_hook
return super()._safe_import_hook(target_module_partname, source_module, targ
et_attr_names, level, edge_attr)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\lib\modulegraph\modul
egraph.py", line 2301, in _safe_import_hook
target_modules = self.import_hook(
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\lib\modulegraph\modul
egraph.py", line 1518, in import_hook
submodule = self._safe_import_module(head, mname, submodule)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\depend\analysis.py",
line 429, in _safe_import_module
return super()._safe_import_module(module_basename, module_name, parent_pack
age)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\lib\modulegraph\modul
egraph.py", line 2062, in _safe_import_module
self._process_imports(n)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\lib\modulegraph\modul
egraph.py", line 2850, in _process_imports
target_modules = self._safe_import_hook(*import_info, **kwargs)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\depend\analysis.py",
line 382, in _safe_import_hook
return super()._safe_import_hook(target_module_partname, source_module, targ
et_attr_names, level, edge_attr)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\lib\modulegraph\modul
egraph.py", line 2301, in _safe_import_hook
target_modules = self.import_hook(
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\lib\modulegraph\modul
egraph.py", line 1518, in import_hook
submodule = self._safe_import_module(head, mname, submodule)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\depend\analysis.py",
line 429, in _safe_import_module
return super()._safe_import_module(module_basename, module_name, parent_pack
age)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\lib\modulegraph\modul
egraph.py", line 2062, in _safe_import_module
self._process_imports(n)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\lib\modulegraph\modul
egraph.py", line 2850, in _process_imports
target_modules = self._safe_import_hook(*import_info, **kwargs)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\depend\analysis.py",
line 382, in _safe_import_hook
return super()._safe_import_hook(target_module_partname, source_module, targ
et_attr_names, level, edge_attr)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\lib\modulegraph\modul
egraph.py", line 2301, in _safe_import_hook
target_modules = self.import_hook(
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\lib\modulegraph\modul
egraph.py", line 1518, in import_hook
submodule = self._safe_import_module(head, mname, submodule)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\depend\analysis.py",
line 429, in _safe_import_module
return super()._safe_import_module(module_basename, module_name, parent_pack
age)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\lib\modulegraph\modul
egraph.py", line 2062, in _safe_import_module
self._process_imports(n)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\lib\modulegraph\modul
egraph.py", line 2850, in _process_imports
target_modules = self._safe_import_hook(*import_info, **kwargs)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\depend\analysis.py",
line 382, in _safe_import_hook
return super()._safe_import_hook(target_module_partname, source_module, targ
et_attr_names, level, edge_attr)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\lib\modulegraph\modul
egraph.py", line 2301, in _safe_import_hook
target_modules = self.import_hook(
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\lib\modulegraph\modul
egraph.py", line 1518, in import_hook
submodule = self._safe_import_module(head, mname, submodule)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\depend\analysis.py",
line 429, in _safe_import_module
return super()._safe_import_module(module_basename, module_name, parent_pack
age)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\lib\modulegraph\modul
egraph.py", line 2061, in _safe_import_module
n = self._scan_code(module, co, co_ast)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\lib\modulegraph\modul
egraph.py", line 2645, in _scan_code
self._scan_bytecode(
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\lib\modulegraph\modul
egraph.py", line 2749, in _scan_bytecode
for inst in util.iterate_instructions(module_code_object):
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\lib\modulegraph\util.
py", line 149, in iterate_instructions
yield from iterate_instructions(constant)
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\lib\modulegraph\util.
py", line 141, in iterate_instructions
yield from (i for i in get_instructions(code_object) if i.opname != "EXTENDE
D_ARG")
File "Z:\tmp\wenv-88fbf1b9\lib\site-packages\PyInstaller\lib\modulegraph\util.
py", line 141, in <genexpr>
yield from (i for i in get_instructions(code_object) if i.opname != "EXTENDE
D_ARG")
File "dis.py", line 338, in _get_instructions_bytes
File "dis.py", line 292, in _get_const_info
IndexError: tuple index out of range
Looks like an issue specific to pyinstaller
. You're not the first person trying to run pyinstaller
on top of wenv
. This has always caused issues though sometimes it apparently worked. I have not done this in ages so I'd need access to the project to understand what might be happening in your case. You might have a better chance asking the pyinstaller
people about what this error indicates - perhaps I then have a better idea what to fix in wenv
.
Looks like an issue specific to
pyinstaller
. You're not the first person trying to runpyinstaller
on top ofwenv
. This has always caused issues though sometimes it apparently worked. I have not done this in ages so I'd need access to the project to understand what might be happening in your case. You might have a better chance asking thepyinstaller
people about what this error indicates - perhaps I then have a better idea what to fix inwenv
.
wenv 0.5.1 wine 8