johndoe@jd-ubuntu:~/programs/blockcheck$ python3 -m venv /home/johndoe/programs/blockcheck/venv johndoe@jd-ubuntu:~/programs/blockcheck$ cd ./venv/ johndoe@jd-ubuntu:~/programs/blockcheck/venv$ . bin/activate (venv) johndoe@jd-ubuntu:~/programs/blockcheck/venv$ python3 -m pip install -r ../blockcheck/requirements.txt Collecting dnspython Downloading dnspython-2.6.1-py3-none-any.whl (307 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 307.7/307.7 KB 1.2 MB/s eta 0:00:00 Collecting ipwhois Downloading ipwhois-1.2.0-py2.py3-none-any.whl (73 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 73.5/73.5 KB 538.2 kB/s eta 0:00:00 Collecting dnspython Downloading dnspython-2.0.0-py3-none-any.whl (208 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 208.3/208.3 KB 1.6 MB/s eta 0:00:00 Installing collected packages: dnspython, ipwhois Successfully installed dnspython-2.0.0 ipwhois-1.2.0 (venv) johndoe@jd-ubuntu:~/programs/blockcheck/venv$ python -m pip install pyinstaller Collecting pyinstaller Using cached pyinstaller-6.9.0-py3-none-manylinux2014_x86_64.whl (684 kB) Collecting packaging>=22.0 Using cached packaging-24.1-py3-none-any.whl (53 kB) Requirement already satisfied: setuptools>=42.0.0 in ./lib/python3.10/site-packages (from pyinstaller) (59.6.0) Collecting altgraph Using cached altgraph-0.17.4-py2.py3-none-any.whl (21 kB) Collecting pyinstaller-hooks-contrib>=2024.7 Using cached pyinstaller_hooks_contrib-2024.7-py2.py3-none-any.whl (341 kB) Installing collected packages: altgraph, packaging, pyinstaller-hooks-contrib, pyinstaller Successfully installed altgraph-0.17.4 packaging-24.1 pyinstaller-6.9.0 pyinstaller-hooks-contrib-2024.7 (venv) johndoe@jd-ubuntu:~/programs/blockcheck/venv$ pyinstaller ../blockcheck/blockcheck.spec 301 INFO: PyInstaller: 6.9.0, contrib hooks: 2024.7 301 INFO: Python: 3.10.12 304 INFO: Platform: Linux-6.5.0-44-generic-x86_64-with-glibc2.35 304 INFO: Python environment: /home/johndoe/programs/blockcheck/venv 374 INFO: Module search paths (PYTHONPATH): ['/usr/lib/python310.zip', '/usr/lib/python3.10', '/usr/lib/python3.10/lib-dynload', '/home/johndoe/programs/blockcheck/venv/lib/python3.10/site-packages', '/home/johndoe/programs/blockcheck/blockcheck'] 553 INFO: Appending 'datas' from .spec 554 INFO: checking Analysis 554 INFO: Building Analysis because Analysis-00.toc is non existent 554 INFO: Running Analysis Analysis-00.toc 554 INFO: Target bytecode optimization level: 0 554 INFO: Initializing module dependency graph... 556 INFO: Caching module graph hooks... 611 INFO: Analyzing base_library.zip ... 1744 INFO: Loading module hook 'hook-heapq.py' from '/home/johndoe/programs/blockcheck/venv/lib/python3.10/site-packages/PyInstaller/hooks'... 1887 INFO: Loading module hook 'hook-encodings.py' from '/home/johndoe/programs/blockcheck/venv/lib/python3.10/site-packages/PyInstaller/hooks'... 4654 INFO: Loading module hook 'hook-pickle.py' from '/home/johndoe/programs/blockcheck/venv/lib/python3.10/site-packages/PyInstaller/hooks'... 7001 INFO: Caching module dependency graph... 7195 INFO: Looking for Python shared library... 7245 WARNING: Unrecognised line of output 'Кэш сгенерирован: ldconfig (Ubuntu GLIBC 2.35-0ubuntu3.8) stable release version 2.35' from ldconfig 7247 INFO: Using Python shared library: /lib/x86_64-linux-gnu/libpython3.10.so 7247 INFO: Analyzing /home/johndoe/programs/blockcheck/blockcheck/blockcheck.py 8162 INFO: Loading module hook 'hook-dns.rdata.py' from '/home/johndoe/programs/blockcheck/venv/lib/python3.10/site-packages/_pyinstaller_hooks_contrib/hooks/stdhooks'... 9148 INFO: Loading module hook 'hook-xml.py' from '/home/johndoe/programs/blockcheck/venv/lib/python3.10/site-packages/PyInstaller/hooks'... 9152 INFO: Loading module hook 'hook-xml.dom.domreg.py' from '/home/johndoe/programs/blockcheck/venv/lib/python3.10/site-packages/PyInstaller/hooks'... 9568 INFO: Processing module hooks... 9826 INFO: Performing binary vs. data reclassification (3 entries) 9852 INFO: Looking for ctypes DLLs 9859 INFO: Analyzing run-time hooks ... 9863 INFO: Including run-time hook '/home/johndoe/programs/blockcheck/venv/lib/python3.10/site-packages/PyInstaller/hooks/rthooks/pyi_rth_inspect.py' 9878 INFO: Looking for dynamic libraries 10319 INFO: Warnings written to /home/johndoe/programs/blockcheck/venv/build/blockcheck/warn-blockcheck.txt 10368 INFO: Graph cross-reference written to /home/johndoe/programs/blockcheck/venv/build/blockcheck/xref-blockcheck.html 10405 INFO: checking PYZ 10405 INFO: Building PYZ because PYZ-00.toc is non existent 10405 INFO: Building PYZ (ZlibArchive) /home/johndoe/programs/blockcheck/venv/build/blockcheck/PYZ-00.pyz 10783 INFO: Building PYZ (ZlibArchive) /home/johndoe/programs/blockcheck/venv/build/blockcheck/PYZ-00.pyz completed successfully. Traceback (most recent call last): File "/home/johndoe/programs/blockcheck/venv/bin/pyinstaller", line 8, in sys.exit(_console_script_run()) File "/home/johndoe/programs/blockcheck/venv/lib/python3.10/site-packages/PyInstaller/__main__.py", line 231, in _console_script_run run() File "/home/johndoe/programs/blockcheck/venv/lib/python3.10/site-packages/PyInstaller/__main__.py", line 215, in run run_build(pyi_config, spec_file, **vars(args)) File "/home/johndoe/programs/blockcheck/venv/lib/python3.10/site-packages/PyInstaller/__main__.py", line 70, in run_build PyInstaller.building.build_main.main(pyi_config, spec_file, **kwargs) File "/home/johndoe/programs/blockcheck/venv/lib/python3.10/site-packages/PyInstaller/building/build_main.py", line 1216, in main build(specfile, distpath, workpath, clean_build) File "/home/johndoe/programs/blockcheck/venv/lib/python3.10/site-packages/PyInstaller/building/build_main.py", line 1156, in build exec(code, spec_namespace) File "../blockcheck/blockcheck.spec", line 42, in a.binaries -= [ TypeError: unsupported operand type(s) for -=: 'list' and 'list'