pleiszenburg / wenv

Running Python on Wine
GNU Lesser General Public License v2.1
22 stars 1 forks source link

pip install pandas failed #19

Open InfernalAzazel opened 1 year ago

InfernalAzazel commented 1 year ago

wenv 0.5.1 wine 8

      !!

        check.warn(importable)
      Z:\home\V01\extittivns03\.pyenv\versions\3.10.10\share\wenv\win32\drive_c\python-3.10.0.stable\lib\site-packages\setuptools\command\build_py.py:202: SetuptoolsDeprecationWarning:     Installing 'pandas.tests.io.da
ta.xml' as data is deprecated, please list it in `packages`.
          !!

          ############################
          # Package would be ignored #
          ############################
          Python recognizes 'pandas.tests.io.data.xml' as an importable package,
          but it is not listed in the `packages` configuration of setuptools.

          'pandas.tests.io.data.xml' has been automatically added to the distribution only
          because it may contain data files, but this behavior is likely to change
          in future versions of setuptools (and therefore is considered deprecated).

          Please make sure that 'pandas.tests.io.data.xml' is included as a package by using
          the `packages` configuration field or the proper discovery methods
          (for example by using `find_namespace_packages(...)`/`find_namespace:`
          instead of `find_packages(...)`/`find:`).

          You can read more about "package discovery" and "data files" on setuptools
          documentation page.

      !!

        check.warn(importable)
      copying pandas\_libs\algos.pxd -> build\lib.win32-cpython-310\pandas\_libs
      copying pandas\_libs\algos.pyi -> build\lib.win32-cpython-310\pandas\_libs
      copying pandas\_libs\algos.pyx -> build\lib.win32-cpython-310\pandas\_libs
      copying pandas\_libs\algos_common_helper.pxi.in -> build\lib.win32-cpython-310\pandas\_libs
      copying pandas\_libs\algos_take_helper.pxi.in -> build\lib.win32-cpython-310\pandas\_libs
      copying pandas\_libs\arrays.pxd -> build\lib.win32-cpython-310\pandas\_libs
      copying pandas\_libs\arrays.pyi -> build\lib.win32-cpython-310\pandas\_libs
      copying pandas\_libs\arrays.pyx -> build\lib.win32-cpython-310\pandas\_libs
      copying pandas\_libs\dtypes.pxd -> build\lib.win32-cpython-310\pandas\_libs
      copying pandas\_libs\groupby.pyi -> build\lib.win32-cpython-310\pandas\_libs
      copying pandas\_libs\groupby.pyx -> build\lib.win32-cpython-310\pandas\_libs
      copying pandas\_libs\hashing.pyi -> build\lib.win32-cpython-310\pandas\_libs
      copying pandas\_libs\hashing.pyx -> build\lib.win32-cpython-310\pandas\_libs
      copying pandas\_libs\hashtable.pxd -> build\lib.win32-cpython-310\pandas\_libs
      copying pandas\_libs\hashtable.pyi -> build\lib.win32-cpython-310\pandas\_libs
      copying pandas\_libs\hashtable.pyx -> build\lib.win32-cpython-310\pandas\_libs
      copying pandas\_libs\hashtable_class_helper.pxi.in -> build\lib.win32-cpython-310\pandas\_libs
      copying pandas\_libs\hashtable_func_helper.pxi.in -> build\lib.win32-cpython-310\pandas\_libs
      copying pandas\_libs\index.pyi -> build\lib.win32-cpython-310\pandas\_libs
      copying pandas\_libs\index.pyx -> build\lib.win32-cpython-310\pandas\_libs
      copying pandas\_libs\index_class_helper.pxi.in -> build\lib.win32-cpython-310\pandas\_libs
      copying pandas\_libs\indexing.pyi -> build\lib.win32-cpython-310\pandas\_libs
      copying pandas\_libs\indexing.pyx -> build\lib.win32-cpython-310\pandas\_libs
      copying pandas\_libs\internals.pyi -> build\lib.win32-cpython-310\pandas\_libs
      copying pandas\_libs\internals.pyx -> build\lib.win32-cpython-310\pandas\_libs
      copying pandas\_libs\interval.pyi -> build\lib.win32-cpython-310\pandas\_libs
      copying pandas\_libs\interval.pyx -> build\lib.win32-cpython-310\pandas\_libs
      copying pandas\_libs\intervaltree.pxi.in -> build\lib.win32-cpython-310\pandas\_libs
      copying pandas\_libs\join.pyi -> build\lib.win32-cpython-310\pandas\_libs
      copying pandas\_libs\join.pyx -> build\lib.win32-cpython-310\pandas\_libs
      copying pandas\_libs\json.pyi -> build\lib.win32-cpython-310\pandas\_libs
      copying pandas\_libs\khash.pxd -> build\lib.win32-cpython-310\pandas\_libs
      copying pandas\_libs\khash_for_primitive_helper.pxi.in -> build\lib.win32-cpython-310\pandas\_libs
      copying pandas\_libs\lib.pxd -> build\lib.win32-cpython-310\pandas\_libs
      copying pandas\_libs\lib.pyi -> build\lib.win32-cpython-310\pandas\_libs
      copying pandas\_libs\lib.pyx -> build\lib.win32-cpython-310\pandas\_libs
      copying pandas\_libs\missing.pxd -> build\lib.win32-cpython-310\pandas\_libs
      copying pandas\_libs\missing.pyi -> build\lib.win32-cpython-310\pandas\_libs
      copying pandas\_libs\missing.pyx -> build\lib.win32-cpython-310\pandas\_libs
      copying pandas\_libs\ops.pyi -> build\lib.win32-cpython-310\pandas\_libs
      copying pandas\_libs\ops.pyx -> build\lib.win32-cpython-310\pandas\_libs
      copying pandas\_libs\ops_dispatch.pyi -> build\lib.win32-cpython-310\pandas\_libs
      copying pandas\_libs\ops_dispatch.pyx -> build\lib.win32-cpython-310\pandas\_libs
      copying pandas\_libs\parsers.pyi -> build\lib.win32-cpython-310\pandas\_libs
      copying pandas\_libs\parsers.pyx -> build\lib.win32-cpython-310\pandas\_libs
      copying pandas\_libs\properties.pyi -> build\lib.win32-cpython-310\pandas\_libs
      copying pandas\_libs\properties.pyx -> build\lib.win32-cpython-310\pandas\_libs
      copying pandas\_libs\reduction.pyi -> build\lib.win32-cpython-310\pandas\_libs
      copying pandas\_libs\reduction.pyx -> build\lib.win32-cpython-310\pandas\_libs
      copying pandas\_libs\reshape.pyi -> build\lib.win32-cpython-310\pandas\_libs
      copying pandas\_libs\reshape.pyx -> build\lib.win32-cpython-310\pandas\_libs
      copying pandas\_libs\sparse.pyi -> build\lib.win32-cpython-310\pandas\_libs
      copying pandas\_libs\sparse.pyx -> build\lib.win32-cpython-310\pandas\_libs
      copying pandas\_libs\sparse_op_helper.pxi.in -> build\lib.win32-cpython-310\pandas\_libs
      copying pandas\_libs\testing.pyi -> build\lib.win32-cpython-310\pandas\_libs
      copying pandas\_libs\testing.pyx -> build\lib.win32-cpython-310\pandas\_libs
      copying pandas\_libs\tslib.pyi -> build\lib.win32-cpython-310\pandas\_libs
      copying pandas\_libs\tslib.pyx -> build\lib.win32-cpython-310\pandas\_libs
      copying pandas\_libs\util.pxd -> build\lib.win32-cpython-310\pandas\_libs
      copying pandas\_libs\writers.pyi -> build\lib.win32-cpython-310\pandas\_libs
      copying pandas\_libs\writers.pyx -> build\lib.win32-cpython-310\pandas\_libs
      creating build\lib.win32-cpython-310\pandas\io\formats\templates
      copying pandas\io\formats\templates\html.tpl -> build\lib.win32-cpython-310\pandas\io\formats\templates
      copying pandas\io\formats\templates\html_style.tpl -> build\lib.win32-cpython-310\pandas\io\formats\templates
      copying pandas\io\formats\templates\html_table.tpl -> build\lib.win32-cpython-310\pandas\io\formats\templates
      copying pandas\io\formats\templates\latex.tpl -> build\lib.win32-cpython-310\pandas\io\formats\templates
      copying pandas\io\formats\templates\latex_longtable.tpl -> build\lib.win32-cpython-310\pandas\io\formats\templates
      copying pandas\io\formats\templates\latex_table.tpl -> build\lib.win32-cpython-310\pandas\io\formats\templates
      copying pandas\io\formats\templates\string.tpl -> build\lib.win32-cpython-310\pandas\io\formats\templates
      copying pandas\io\sas\_sas.pyi -> build\lib.win32-cpython-310\pandas\io\sas
      copying pandas\io\sas\sas.pyx -> build\lib.win32-cpython-310\pandas\io\sas
      creating build\lib.win32-cpython-310\pandas\tests\io\data
      copying pandas\tests\io\data\gbq_fake_job.txt -> build\lib.win32-cpython-310\pandas\tests\io\data
      creating build\lib.win32-cpython-310\pandas\tests\io\data\fixed_width
      copying pandas\tests\io\data\fixed_width\fixed_width_format.txt -> build\lib.win32-cpython-310\pandas\tests\io\data\fixed_width
      creating build\lib.win32-cpython-310\pandas\tests\io\data\legacy_pickle
      creating build\lib.win32-cpython-310\pandas\tests\io\data\legacy_pickle\1.2.4
      copying pandas\tests\io\data\legacy_pickle\1.2.4\empty_frame_v1_2_4-GH#42345.pkl -> build\lib.win32-cpython-310\pandas\tests\io\data\legacy_pickle\1.2.4
      creating build\lib.win32-cpython-310\pandas\tests\io\data\parquet
      copying pandas\tests\io\data\parquet\simple.parquet -> build\lib.win32-cpython-310\pandas\tests\io\data\parquet
      creating build\lib.win32-cpython-310\pandas\tests\io\data\pickle
      copying pandas\tests\io\data\pickle\test_mi_py27.pkl -> build\lib.win32-cpython-310\pandas\tests\io\data\pickle
      copying pandas\tests\io\data\pickle\test_py27.pkl -> build\lib.win32-cpython-310\pandas\tests\io\data\pickle
      creating build\lib.win32-cpython-310\pandas\tests\io\data\xml
      copying pandas\tests\io\data\xml\baby_names.xml -> build\lib.win32-cpython-310\pandas\tests\io\data\xml
      copying pandas\tests\io\data\xml\books.xml -> build\lib.win32-cpython-310\pandas\tests\io\data\xml
      copying pandas\tests\io\data\xml\cta_rail_lines.kml -> build\lib.win32-cpython-310\pandas\tests\io\data\xml
      copying pandas\tests\io\data\xml\doc_ch_utf.xml -> build\lib.win32-cpython-310\pandas\tests\io\data\xml
      copying pandas\tests\io\data\xml\flatten_doc.xsl -> build\lib.win32-cpython-310\pandas\tests\io\data\xml
      copying pandas\tests\io\data\xml\row_field_output.xsl -> build\lib.win32-cpython-310\pandas\tests\io\data\xml
      copying pandas\_libs\tslibs\base.pxd -> build\lib.win32-cpython-310\pandas\_libs\tslibs
      copying pandas\_libs\tslibs\base.pyx -> build\lib.win32-cpython-310\pandas\_libs\tslibs
      copying pandas\_libs\tslibs\ccalendar.pxd -> build\lib.win32-cpython-310\pandas\_libs\tslibs
      copying pandas\_libs\tslibs\ccalendar.pyi -> build\lib.win32-cpython-310\pandas\_libs\tslibs
      copying pandas\_libs\tslibs\ccalendar.pyx -> build\lib.win32-cpython-310\pandas\_libs\tslibs
      copying pandas\_libs\tslibs\conversion.pxd -> build\lib.win32-cpython-310\pandas\_libs\tslibs
      copying pandas\_libs\tslibs\conversion.pyi -> build\lib.win32-cpython-310\pandas\_libs\tslibs
      copying pandas\_libs\tslibs\conversion.pyx -> build\lib.win32-cpython-310\pandas\_libs\tslibs
      copying pandas\_libs\tslibs\dtypes.pxd -> build\lib.win32-cpython-310\pandas\_libs\tslibs
      copying pandas\_libs\tslibs\dtypes.pyi -> build\lib.win32-cpython-310\pandas\_libs\tslibs
      copying pandas\_libs\tslibs\dtypes.pyx -> build\lib.win32-cpython-310\pandas\_libs\tslibs
      copying pandas\_libs\tslibs\fields.pyi -> build\lib.win32-cpython-310\pandas\_libs\tslibs
      copying pandas\_libs\tslibs\fields.pyx -> build\lib.win32-cpython-310\pandas\_libs\tslibs
      copying pandas\_libs\tslibs\nattype.pxd -> build\lib.win32-cpython-310\pandas\_libs\tslibs
      copying pandas\_libs\tslibs\nattype.pyi -> build\lib.win32-cpython-310\pandas\_libs\tslibs
      copying pandas\_libs\tslibs\nattype.pyx -> build\lib.win32-cpython-310\pandas\_libs\tslibs
      copying pandas\_libs\tslibs\np_datetime.pxd -> build\lib.win32-cpython-310\pandas\_libs\tslibs
      copying pandas\_libs\tslibs\np_datetime.pyi -> build\lib.win32-cpython-310\pandas\_libs\tslibs
      copying pandas\_libs\tslibs\np_datetime.pyx -> build\lib.win32-cpython-310\pandas\_libs\tslibs
      copying pandas\_libs\tslibs\offsets.pxd -> build\lib.win32-cpython-310\pandas\_libs\tslibs
      copying pandas\_libs\tslibs\offsets.pyi -> build\lib.win32-cpython-310\pandas\_libs\tslibs
      copying pandas\_libs\tslibs\offsets.pyx -> build\lib.win32-cpython-310\pandas\_libs\tslibs
      copying pandas\_libs\tslibs\parsing.pxd -> build\lib.win32-cpython-310\pandas\_libs\tslibs
      copying pandas\_libs\tslibs\parsing.pyi -> build\lib.win32-cpython-310\pandas\_libs\tslibs
      copying pandas\_libs\tslibs\parsing.pyx -> build\lib.win32-cpython-310\pandas\_libs\tslibs
      copying pandas\_libs\tslibs\period.pxd -> build\lib.win32-cpython-310\pandas\_libs\tslibs
      copying pandas\_libs\tslibs\period.pyi -> build\lib.win32-cpython-310\pandas\_libs\tslibs
      copying pandas\_libs\tslibs\period.pyx -> build\lib.win32-cpython-310\pandas\_libs\tslibs
      copying pandas\_libs\tslibs\strptime.pyi -> build\lib.win32-cpython-310\pandas\_libs\tslibs
      copying pandas\_libs\tslibs\strptime.pyx -> build\lib.win32-cpython-310\pandas\_libs\tslibs
      copying pandas\_libs\tslibs\timedeltas.pxd -> build\lib.win32-cpython-310\pandas\_libs\tslibs
      copying pandas\_libs\tslibs\timedeltas.pyi -> build\lib.win32-cpython-310\pandas\_libs\tslibs
      copying pandas\_libs\tslibs\timedeltas.pyx -> build\lib.win32-cpython-310\pandas\_libs\tslibs
      copying pandas\_libs\tslibs\timestamps.pxd -> build\lib.win32-cpython-310\pandas\_libs\tslibs
      copying pandas\_libs\tslibs\timestamps.pyi -> build\lib.win32-cpython-310\pandas\_libs\tslibs
      copying pandas\_libs\tslibs\timestamps.pyx -> build\lib.win32-cpython-310\pandas\_libs\tslibs
      copying pandas\_libs\tslibs\timezones.pxd -> build\lib.win32-cpython-310\pandas\_libs\tslibs
      copying pandas\_libs\tslibs\timezones.pyi -> build\lib.win32-cpython-310\pandas\_libs\tslibs
      copying pandas\_libs\tslibs\timezones.pyx -> build\lib.win32-cpython-310\pandas\_libs\tslibs
      copying pandas\_libs\tslibs\tzconversion.pxd -> build\lib.win32-cpython-310\pandas\_libs\tslibs
      copying pandas\_libs\tslibs\tzconversion.pyi -> build\lib.win32-cpython-310\pandas\_libs\tslibs
      copying pandas\_libs\tslibs\tzconversion.pyx -> build\lib.win32-cpython-310\pandas\_libs\tslibs
      copying pandas\_libs\tslibs\util.pxd -> build\lib.win32-cpython-310\pandas\_libs\tslibs
      copying pandas\_libs\tslibs\vectorized.pyi -> build\lib.win32-cpython-310\pandas\_libs\tslibs
      copying pandas\_libs\tslibs\vectorized.pyx -> build\lib.win32-cpython-310\pandas\_libs\tslibs
      copying pandas\_libs\window\aggregations.pyi -> build\lib.win32-cpython-310\pandas\_libs\window
      copying pandas\_libs\window\aggregations.pyx -> build\lib.win32-cpython-310\pandas\_libs\window
      copying pandas\_libs\window\indexers.pyi -> build\lib.win32-cpython-310\pandas\_libs\window
      copying pandas\_libs\window\indexers.pyx -> build\lib.win32-cpython-310\pandas\_libs\window
      UPDATING build\lib.win32-cpython-310\pandas/_version.py
      set build\lib.win32-cpython-310\pandas/_version.py to '1.5.3'
      running build_ext
      building 'pandas._libs.algos' extension
      error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for pandas
Failed to build pandas
ERROR: Could not build wheels for pandas, which is required to install pyproject.toml-based projects
s-m-e commented 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.

InfernalAzazel commented 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.

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
s-m-e commented 1 year ago

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.

InfernalAzazel commented 1 year ago

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.

code: https://github.com/InfernalAzazel/wenv_bug.git