# pyinstaller --onefile crhc.py
Traceback (most recent call last):
File "/root/.venv/crhc-cli/bin/pyinstaller", line 8, in <module>
sys.exit(run())
^^^^^
File "/root/.venv/crhc-cli/lib64/python3.11/site-packages/PyInstaller/__main__.py", line 107, in run
parser = generate_parser()
^^^^^^^^^^^^^^^^^
File "/root/.venv/crhc-cli/lib64/python3.11/site-packages/PyInstaller/__main__.py", line 78, in generate_parser
import PyInstaller.building.build_main
File "/root/.venv/crhc-cli/lib64/python3.11/site-packages/PyInstaller/building/build_main.py", line 35, in <module>
from PyInstaller.depend import bindepend
File "/root/.venv/crhc-cli/lib64/python3.11/site-packages/PyInstaller/depend/bindepend.py", line 26, in <module>
from PyInstaller.depend import dylib, utils
File "/root/.venv/crhc-cli/lib64/python3.11/site-packages/PyInstaller/depend/utils.py", line 33, in <module>
from PyInstaller.depend import bytecode
File "/root/.venv/crhc-cli/lib64/python3.11/site-packages/PyInstaller/depend/bytecode.py", line 95, in <module>
_call_function_bytecode = bytecode_regex(rb"""
^^^^^^^^^^^^^^^^^^^^
File "/root/.venv/crhc-cli/lib64/python3.11/site-packages/PyInstaller/depend/bytecode.py", line 60, in bytecode_regex
pattern = re.sub(
^^^^^^^
File "/usr/lib64/python3.11/re/__init__.py", line 185, in sub
return _compile(pattern, flags).sub(repl, string, count)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/.venv/crhc-cli/lib64/python3.11/site-packages/PyInstaller/depend/bytecode.py", line 62, in <lambda>
lambda m: _instruction_to_regex(m[1].decode()),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/.venv/crhc-cli/lib64/python3.11/site-packages/PyInstaller/depend/bytecode.py", line 40, in _instruction_to_regex
return re.escape(bytes([dis.opmap[x]]))
~~~~~~~~~^^^
KeyError: 'CALL_FUNCTION'
Here is the current version
pyinstaller==4.5