Hei!
Yritän käyttää Pyinstalleria.
Tältä näyttää komentorivillä.
C:\Users\Joona>pip install pyinstaller Requirement already satisfied: pyinstaller in c:\users\joona\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (4.10) Requirement already satisfied: setuptools in c:\program files\windowsapps\pythonsoftwarefoundation.python.3.10_3.10.1008.0_x64__qbz5n2kfra8p0\lib\site-packages (from pyinstaller) (58.1.0) Requirement already satisfied: pefile>=2017.8.1 in c:\users\joona\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from pyinstaller) (2021.9.3) Requirement already satisfied: pyinstaller-hooks-contrib>=2020.6 in c:\users\joona\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from pyinstaller) (2022.2) Requirement already satisfied: pywin32-ctypes>=0.2.0 in c:\users\joona\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from pyinstaller) (0.2.0) Requirement already satisfied: altgraph in c:\users\joona\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from pyinstaller) (0.17.2) Requirement already satisfied: future in c:\users\joona\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from pefile>=2017.8.1->pyinstaller) (0.18.2) C:\Users\Joona>pyinstaller 'pyinstaller' is not recognized as an internal or external command, operable program or batch file. C:\Users\Joona>
Mod. lisäsi kooditagit!
Sinulta puuttuu varmaan järjestelmän PATH-muuttujasta se polku, johon pip asentaa paketit. Polkujen säädöstä löytyy varmaan lisää tietoa netistä. Voit kokeilla ajaa myös näin:
python -m pyinstaller
Aihe on jo aika vanha, joten et voi enää vastata siihen.