Closed aurorapar closed 8 months ago
As title.
Microsoft Windows [Version 10.0.19044.2846] (c) Microsoft Corporation. All rights reserved. C:\Windows\system32>cd C:\ C:\>dir palworld-admin Volume in drive C has no label. Volume Serial Number is ECD7-6E68 Directory of C:\ File Not Found C:\>git clone https://github.com/Lukium/palworld-admin.git Cloning into 'palworld-admin'... remote: Enumerating objects: 685, done. remote: Counting objects: 100% (231/231), done. remote: Compressing objects: 100% (131/131), done. remote: Total 685 (delta 117), reused 197 (delta 96), pack-reused 454 Receiving objects: 100% (685/685), 127.21 MiB | 11.66 MiB/s, done. Resolving deltas: 100% (328/328), done. C:\>pip3 install pyinstaller Collecting pyinstaller Using cached pyinstaller-6.4.0-py3-none-win_amd64.whl.metadata (8.3 kB) Requirement already satisfied: setuptools>=42.0.0 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from pyinstaller) (69.1.1) Requirement already satisfied: altgraph in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from pyinstaller) (0.17.4) Requirement already satisfied: pyinstaller-hooks-contrib>=2024.0 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from pyinstaller) (2024.1) Requirement already satisfied: packaging>=22.0 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from pyinstaller) (23.2) Requirement already satisfied: pefile>=2022.5.30 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from pyinstaller) (2023.2.7) Requirement already satisfied: pywin32-ctypes>=0.2.1 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from pyinstaller) (0.2.2) Using cached pyinstaller-6.4.0-py3-none-win_amd64.whl (1.3 MB) Installing collected packages: pyinstaller Successfully installed pyinstaller-6.4.0 C:\>pip3 install poetry Requirement already satisfied: poetry in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (1.8.0) Requirement already satisfied: build<2.0.0,>=1.0.3 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from poetry) (1.0.3) Requirement already satisfied: cachecontrol<0.15.0,>=0.14.0 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from cachecontrol[filecache]<0.15.0,>=0.14.0->poetry) (0.14.0) Requirement already satisfied: cleo<3.0.0,>=2.1.0 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from poetry) (2.1.0) Requirement already satisfied: crashtest<0.5.0,>=0.4.1 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from poetry) (0.4.1) Requirement already satisfied: dulwich<0.22.0,>=0.21.2 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from poetry) (0.21.7) Requirement already satisfied: fastjsonschema<3.0.0,>=2.18.0 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from poetry) (2.19.1) Requirement already satisfied: installer<0.8.0,>=0.7.0 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from poetry) (0.7.0) Requirement already satisfied: keyring<25.0.0,>=24.0.0 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from poetry) (24.3.0) Requirement already satisfied: packaging>=20.5 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from poetry) (23.2) Requirement already satisfied: pexpect<5.0.0,>=4.7.0 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from poetry) (4.9.0) Requirement already satisfied: pkginfo<2.0.0,>=1.9.4 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from poetry) (1.9.6) Requirement already satisfied: platformdirs<5,>=3.0.0 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from poetry) (4.2.0) Requirement already satisfied: poetry-core==1.9.0 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from poetry) (1.9.0) Requirement already satisfied: poetry-plugin-export<2.0.0,>=1.6.0 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from poetry) (1.6.0) Requirement already satisfied: pyproject-hooks<2.0.0,>=1.0.0 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from poetry) (1.0.0) Requirement already satisfied: requests<3.0,>=2.26 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from poetry) (2.31.0) Requirement already satisfied: requests-toolbelt<2.0.0,>=1.0.0 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from poetry) (1.0.0) Requirement already satisfied: shellingham<2.0,>=1.5 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from poetry) (1.5.4) Requirement already satisfied: tomlkit<1.0.0,>=0.11.4 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from poetry) (0.12.3) Requirement already satisfied: trove-classifiers>=2022.5.19 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from poetry) (2024.2.23) Requirement already satisfied: virtualenv<21.0.0,>=20.23.0 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from poetry) (20.25.1) Requirement already satisfied: colorama in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from build<2.0.0,>=1.0.3->poetry) (0.4.6) Requirement already satisfied: msgpack<2.0.0,>=0.5.2 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from cachecontrol<0.15.0,>=0.14.0->cachecontrol[filecache]<0.15.0,>=0.14.0->poetry) (1.0.7) Requirement already satisfied: filelock>=3.8.0 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from cachecontrol[filecache]<0.15.0,>=0.14.0->poetry) (3.13.1) Requirement already satisfied: rapidfuzz<4.0.0,>=3.0.0 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from cleo<3.0.0,>=2.1.0->poetry) (3.6.1) Requirement already satisfied: urllib3>=1.25 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from dulwich<0.22.0,>=0.21.2->poetry) (2.2.1) Requirement already satisfied: jaraco.classes in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from keyring<25.0.0,>=24.0.0->poetry) (3.3.1) Requirement already satisfied: pywin32-ctypes>=0.2.0 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from keyring<25.0.0,>=24.0.0->poetry) (0.2.2) Requirement already satisfied: ptyprocess>=0.5 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from pexpect<5.0.0,>=4.7.0->poetry) (0.7.0) Requirement already satisfied: charset-normalizer<4,>=2 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from requests<3.0,>=2.26->poetry) (3.3.2) Requirement already satisfied: idna<4,>=2.5 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from requests<3.0,>=2.26->poetry) (3.6) Requirement already satisfied: certifi>=2017.4.17 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from requests<3.0,>=2.26->poetry) (2024.2.2) Requirement already satisfied: distlib<1,>=0.3.7 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from virtualenv<21.0.0,>=20.23.0->poetry) (0.3.8) Requirement already satisfied: more-itertools in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from jaraco.classes->keyring<25.0.0,>=24.0.0->poetry) (10.2.0) C:\>cd palworld-admin C:\palworld-admin>pyinstaller palworld-admin.spec 203 INFO: PyInstaller: 6.4.0, contrib hooks: 2024.1 203 INFO: Python: 3.12.2 218 INFO: Platform: Windows-10-10.0.19044-SP0 234 INFO: Extending PYTHONPATH with paths ['C:\\palworld-admin', 'C:\\palworld-admin-github'] 421 INFO: Appending 'datas' from .spec Unable to find 'C:\\palworld-admin-github\\ui\\palworld-admin-ui-win32-x64' when adding binary and data files. C:\palworld-admin>
You missed a couple of steps:
after installing poetry:
cd palworld-admin
poetry install
poetry run pyinstaller palworld-admin.spec
Then the .exe should be in the dist
directory, palworld-admin\dist
I'm pretty sure you mispackaged the front-end UI.
Microsoft Windows [Version 10.0.19044.2846]
(c) Microsoft Corporation. All rights reserved.
C:\Windows\system32>cd C:\pwa
C:\pwa>dir
Volume in drive C has no label.
Volume Serial Number is ECD7-6E68
Directory of C:\pwa
02/27/2024 09:33 PM <DIR> .
02/27/2024 09:33 PM <DIR> ..
0 File(s) 0 bytes
2 Dir(s) 6,470,245,933,056 bytes free
C:\pwa>git clone https://github.com/Lukium/palworld-admin.git
Cloning into 'palworld-admin'...
remote: Enumerating objects: 715, done.
remote: Counting objects: 100% (261/261), done.
remote: Compressing objects: 100% (146/146), done.
remote: Total 715 (delta 135), reused 224 (delta 111), pack-reused 454
Receiving objects: 100% (715/715), 127.21 MiB | 43.98 MiB/s, done.
Resolving deltas: 100% (346/346), done.
C:\pwa>cd palworld-admin
C:\pwa\palworld-admin>pip install pyinstaller poetry
Requirement already satisfied: pyinstaller in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (6.4.0)
Requirement already satisfied: poetry in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (1.8.0)
Requirement already satisfied: setuptools>=42.0.0 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from pyinstaller) (69.1.1)
Requirement already satisfied: altgraph in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from pyinstaller) (0.17.4)
Requirement already satisfied: pyinstaller-hooks-contrib>=2024.0 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from pyinstaller) (2024.1)
Requirement already satisfied: packaging>=22.0 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from pyinstaller) (23.2)
Requirement already satisfied: pefile>=2022.5.30 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from pyinstaller) (2023.2.7)
Requirement already satisfied: pywin32-ctypes>=0.2.1 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from pyinstaller) (0.2.2)
Requirement already satisfied: build<2.0.0,>=1.0.3 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from poetry) (1.0.3)
Requirement already satisfied: cachecontrol<0.15.0,>=0.14.0 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from cachecontrol[filecache]<0.15.0,>=0.14.0->poetry) (0.14.0)
Requirement already satisfied: cleo<3.0.0,>=2.1.0 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from poetry) (2.1.0)
Requirement already satisfied: crashtest<0.5.0,>=0.4.1 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from poetry) (0.4.1)
Requirement already satisfied: dulwich<0.22.0,>=0.21.2 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from poetry) (0.21.7)
Requirement already satisfied: fastjsonschema<3.0.0,>=2.18.0 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from poetry) (2.19.1)
Requirement already satisfied: installer<0.8.0,>=0.7.0 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from poetry) (0.7.0)
Requirement already satisfied: keyring<25.0.0,>=24.0.0 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from poetry) (24.3.0)
Requirement already satisfied: pexpect<5.0.0,>=4.7.0 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from poetry) (4.9.0)
Requirement already satisfied: pkginfo<2.0.0,>=1.9.4 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from poetry) (1.9.6)
Requirement already satisfied: platformdirs<5,>=3.0.0 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from poetry) (4.2.0)
Requirement already satisfied: poetry-core==1.9.0 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from poetry) (1.9.0)
Requirement already satisfied: poetry-plugin-export<2.0.0,>=1.6.0 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from poetry) (1.6.0)
Requirement already satisfied: pyproject-hooks<2.0.0,>=1.0.0 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from poetry) (1.0.0)
Requirement already satisfied: requests<3.0,>=2.26 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from poetry) (2.31.0)
Requirement already satisfied: requests-toolbelt<2.0.0,>=1.0.0 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from poetry) (1.0.0)
Requirement already satisfied: shellingham<2.0,>=1.5 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from poetry) (1.5.4)
Requirement already satisfied: tomlkit<1.0.0,>=0.11.4 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from poetry) (0.12.3)
Requirement already satisfied: trove-classifiers>=2022.5.19 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from poetry) (2024.2.23)
Requirement already satisfied: virtualenv<21.0.0,>=20.23.0 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from poetry) (20.25.1)
Requirement already satisfied: colorama in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from build<2.0.0,>=1.0.3->poetry) (0.4.6)
Requirement already satisfied: msgpack<2.0.0,>=0.5.2 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from cachecontrol<0.15.0,>=0.14.0->cachecontrol[filecache]<0.15.0,>=0.14.0->poetry) (1.0.7)
Requirement already satisfied: filelock>=3.8.0 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from cachecontrol[filecache]<0.15.0,>=0.14.0->poetry) (3.13.1)
Requirement already satisfied: rapidfuzz<4.0.0,>=3.0.0 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from cleo<3.0.0,>=2.1.0->poetry) (3.6.1)
Requirement already satisfied: urllib3>=1.25 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from dulwich<0.22.0,>=0.21.2->poetry) (2.2.1)
Requirement already satisfied: jaraco.classes in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from keyring<25.0.0,>=24.0.0->poetry) (3.3.1)
Requirement already satisfied: ptyprocess>=0.5 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from pexpect<5.0.0,>=4.7.0->poetry) (0.7.0)
Requirement already satisfied: charset-normalizer<4,>=2 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from requests<3.0,>=2.26->poetry) (3.3.2)
Requirement already satisfied: idna<4,>=2.5 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from requests<3.0,>=2.26->poetry) (3.6)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from requests<3.0,>=2.26->poetry) (2024.2.2)
Requirement already satisfied: distlib<1,>=0.3.7 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from virtualenv<21.0.0,>=20.23.0->poetry) (0.3.8)
Requirement already satisfied: more-itertools in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from jaraco.classes->keyring<25.0.0,>=24.0.0->poetry) (10.2.0)
C:\pwa\palworld-admin>poetry install
Updating dependencies
Resolving dependencies... (1.1s)
No dependencies to install or update
Writing lock file
Installing the current project: palworld_admin (0.8.4)
C:\pwa\palworld-admin>poetry run
Not enough arguments (missing: "args")
C:\pwa\palworld-admin>poetry run pyinstaller palworld-admin.spec
278 INFO: PyInstaller: 6.4.0, contrib hooks: 2024.1
278 INFO: Python: 3.12.2
300 INFO: Platform: Windows-10-10.0.19044-SP0
303 INFO: Extending PYTHONPATH with paths
['C:\\pwa\\palworld-admin', 'C:\\palworld-admin-github']
531 INFO: Appending 'datas' from .spec
Unable to find 'C:\\palworld-admin-github\\ui\\palworld-admin-ui-win32-x64' when adding binary and data files.
C:\pwa\palworld-admin>
I'm pretty sure you mispackaged the front-end UI.
Microsoft Windows [Version 10.0.19044.2846] (c) Microsoft Corporation. All rights reserved. C:\Windows\system32>cd C:\pwa C:\pwa>dir Volume in drive C has no label. Volume Serial Number is ECD7-6E68 Directory of C:\pwa 02/27/2024 09:33 PM <DIR> . 02/27/2024 09:33 PM <DIR> .. 0 File(s) 0 bytes 2 Dir(s) 6,470,245,933,056 bytes free C:\pwa>git clone https://github.com/Lukium/palworld-admin.git Cloning into 'palworld-admin'... remote: Enumerating objects: 715, done. remote: Counting objects: 100% (261/261), done. remote: Compressing objects: 100% (146/146), done. remote: Total 715 (delta 135), reused 224 (delta 111), pack-reused 454 Receiving objects: 100% (715/715), 127.21 MiB | 43.98 MiB/s, done. Resolving deltas: 100% (346/346), done. C:\pwa>cd palworld-admin C:\pwa\palworld-admin>pip install pyinstaller poetry Requirement already satisfied: pyinstaller in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (6.4.0) Requirement already satisfied: poetry in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (1.8.0) Requirement already satisfied: setuptools>=42.0.0 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from pyinstaller) (69.1.1) Requirement already satisfied: altgraph in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from pyinstaller) (0.17.4) Requirement already satisfied: pyinstaller-hooks-contrib>=2024.0 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from pyinstaller) (2024.1) Requirement already satisfied: packaging>=22.0 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from pyinstaller) (23.2) Requirement already satisfied: pefile>=2022.5.30 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from pyinstaller) (2023.2.7) Requirement already satisfied: pywin32-ctypes>=0.2.1 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from pyinstaller) (0.2.2) Requirement already satisfied: build<2.0.0,>=1.0.3 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from poetry) (1.0.3) Requirement already satisfied: cachecontrol<0.15.0,>=0.14.0 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from cachecontrol[filecache]<0.15.0,>=0.14.0->poetry) (0.14.0) Requirement already satisfied: cleo<3.0.0,>=2.1.0 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from poetry) (2.1.0) Requirement already satisfied: crashtest<0.5.0,>=0.4.1 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from poetry) (0.4.1) Requirement already satisfied: dulwich<0.22.0,>=0.21.2 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from poetry) (0.21.7) Requirement already satisfied: fastjsonschema<3.0.0,>=2.18.0 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from poetry) (2.19.1) Requirement already satisfied: installer<0.8.0,>=0.7.0 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from poetry) (0.7.0) Requirement already satisfied: keyring<25.0.0,>=24.0.0 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from poetry) (24.3.0) Requirement already satisfied: pexpect<5.0.0,>=4.7.0 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from poetry) (4.9.0) Requirement already satisfied: pkginfo<2.0.0,>=1.9.4 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from poetry) (1.9.6) Requirement already satisfied: platformdirs<5,>=3.0.0 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from poetry) (4.2.0) Requirement already satisfied: poetry-core==1.9.0 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from poetry) (1.9.0) Requirement already satisfied: poetry-plugin-export<2.0.0,>=1.6.0 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from poetry) (1.6.0) Requirement already satisfied: pyproject-hooks<2.0.0,>=1.0.0 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from poetry) (1.0.0) Requirement already satisfied: requests<3.0,>=2.26 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from poetry) (2.31.0) Requirement already satisfied: requests-toolbelt<2.0.0,>=1.0.0 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from poetry) (1.0.0) Requirement already satisfied: shellingham<2.0,>=1.5 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from poetry) (1.5.4) Requirement already satisfied: tomlkit<1.0.0,>=0.11.4 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from poetry) (0.12.3) Requirement already satisfied: trove-classifiers>=2022.5.19 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from poetry) (2024.2.23) Requirement already satisfied: virtualenv<21.0.0,>=20.23.0 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from poetry) (20.25.1) Requirement already satisfied: colorama in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from build<2.0.0,>=1.0.3->poetry) (0.4.6) Requirement already satisfied: msgpack<2.0.0,>=0.5.2 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from cachecontrol<0.15.0,>=0.14.0->cachecontrol[filecache]<0.15.0,>=0.14.0->poetry) (1.0.7) Requirement already satisfied: filelock>=3.8.0 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from cachecontrol[filecache]<0.15.0,>=0.14.0->poetry) (3.13.1) Requirement already satisfied: rapidfuzz<4.0.0,>=3.0.0 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from cleo<3.0.0,>=2.1.0->poetry) (3.6.1) Requirement already satisfied: urllib3>=1.25 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from dulwich<0.22.0,>=0.21.2->poetry) (2.2.1) Requirement already satisfied: jaraco.classes in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from keyring<25.0.0,>=24.0.0->poetry) (3.3.1) Requirement already satisfied: ptyprocess>=0.5 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from pexpect<5.0.0,>=4.7.0->poetry) (0.7.0) Requirement already satisfied: charset-normalizer<4,>=2 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from requests<3.0,>=2.26->poetry) (3.3.2) Requirement already satisfied: idna<4,>=2.5 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from requests<3.0,>=2.26->poetry) (3.6) Requirement already satisfied: certifi>=2017.4.17 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from requests<3.0,>=2.26->poetry) (2024.2.2) Requirement already satisfied: distlib<1,>=0.3.7 in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from virtualenv<21.0.0,>=20.23.0->poetry) (0.3.8) Requirement already satisfied: more-itertools in c:\users\nulrie\appdata\local\programs\python\python312\lib\site-packages (from jaraco.classes->keyring<25.0.0,>=24.0.0->poetry) (10.2.0) C:\pwa\palworld-admin>poetry install Updating dependencies Resolving dependencies... (1.1s) No dependencies to install or update Writing lock file Installing the current project: palworld_admin (0.8.4) C:\pwa\palworld-admin>poetry run Not enough arguments (missing: "args") C:\pwa\palworld-admin>poetry run pyinstaller palworld-admin.spec 278 INFO: PyInstaller: 6.4.0, contrib hooks: 2024.1 278 INFO: Python: 3.12.2 300 INFO: Platform: Windows-10-10.0.19044-SP0 303 INFO: Extending PYTHONPATH with paths ['C:\\pwa\\palworld-admin', 'C:\\palworld-admin-github'] 531 INFO: Appending 'datas' from .spec Unable to find 'C:\\palworld-admin-github\\ui\\palworld-admin-ui-win32-x64' when adding binary and data files. C:\pwa\palworld-admin>
No, I didn't mispack it. It's because you're trying to build the UI version, and I didn't include all the node.js modules so it doesn't pollute the Repo with almost 2K files worth of dependencies.
╭╴ Lukium on LUKIUM-DESKTOP at C:\
╰──► git clone https://github.com/Lukium/palworld-admin
Cloning into 'palworld-admin'...
remote: Enumerating objects: 762, done.
remote: Counting objects: 100% (308/308), done.
remote: Compressing objects: 100% (182/182), done.
remote: Total 762 (delta 167), reused 246 (delta 121), pack-reused 454
Receiving objects: 100% (762/762), 127.22 MiB | 49.20 MiB/s, done.
Resolving deltas: 100% (378/378), done.
╭╴ Lukium on LUKIUM-DESKTOP at C:\ took 3s
╰──► cd palworld-admin
╭╴ Lukium on LUKIUM-DESKTOP at …\palworld-admin via main is 📦 v0.8.5 via 🐍 v3.11.8
╰──► poetry install
Creating virtualenv palworld-admin in C:\palworld-admin\.venv
Updating dependencies
Resolving dependencies... (1.0s)
Package operations: 36 installs, 0 updates, 0 removals
• Installing h11 (0.14.0)
• Installing colorama (0.4.6)
• Installing markupsafe (2.1.5)
• Installing wsproto (1.2.0)
• Installing blinker (1.7.0)
• Installing click (8.1.7)
• Installing greenlet (3.0.3)
• Installing itsdangerous (2.1.2)
• Installing jinja2 (3.1.3)
• Installing simple-websocket (1.0.0)
• Installing typing-extensions (4.10.0)
• Installing werkzeug (3.0.1)
• Installing bidict (0.23.1)
• Installing flask (3.0.2)
• Installing mako (1.3.2)
• Installing packaging (23.2)
• Installing python-engineio (4.9.0)
• Installing setuptools (69.1.1)
• Installing sqlalchemy (2.0.27)
• Installing alembic (1.13.1)
• Installing altgraph (0.17.4)
• Installing certifi (2024.2.2)
• Installing charset-normalizer (3.3.2)
• Installing dnspython (2.6.1)
• Installing flask-sqlalchemy (3.1.1)
• Installing idna (3.6)
• Installing pefile (2023.2.7)
• Installing pyinstaller-hooks-contrib (2024.1)
• Installing python-socketio (5.11.1)
• Installing pywin32-ctypes (0.2.2)
• Installing urllib3 (2.2.1)
• Installing eventlet (0.35.2)
• Installing flask-migrate (4.0.5)
• Installing flask-socketio (5.3.6)
• Installing pyinstaller (6.4.0)
• Installing requests (2.31.0)
Writing lock file
Installing the current project: palworld_admin (0.8.5)
╭╴ Lukium on LUKIUM-DESKTOP at …\palworld-admin via main is 📦 v0.8.5 via 🐍 v3.11.8 took 2s
╰──► poetry run pyinstaller palworld-admin-no-ui.spec
762 INFO: PyInstaller: 6.4.0, contrib hooks: 2024.1
762 INFO: Python: 3.12.2
784 INFO: Platform: Windows-11-10.0.22631-SP0
792 INFO: Extending PYTHONPATH with paths
['C:\\palworld-admin', 'C:\\palworld-admin-github']
957 INFO: Appending 'datas' from .spec
959 INFO: checking Analysis
959 INFO: Building Analysis because Analysis-00.toc is non existent
959 INFO: Initializing module dependency graph...
960 INFO: Caching module graph hooks...
971 INFO: Analyzing base_library.zip ...
1787 INFO: Loading module hook 'hook-encodings.py' from 'C:\\palworld-admin\\.venv\\Lib\\site-packages\\PyInstaller\\hooks'...
2560 INFO: Loading module hook 'hook-pickle.py' from 'C:\\palworld-admin\\.venv\\Lib\\site-packages\\PyInstaller\\hooks'...
3132 INFO: Loading module hook 'hook-heapq.py' from 'C:\\palworld-admin\\.venv\\Lib\\site-packages\\PyInstaller\\hooks'...
3321 INFO: Caching module dependency graph...
3378 INFO: Running Analysis Analysis-00.toc
3378 INFO: Looking for Python shared library...
3383 INFO: Using Python shared library: C:\Program Files\Python312\python312.dll
3383 INFO: Analyzing C:\palworld-admin\palworld_admin\main.py
3397 INFO: Loading module hook 'hook-platform.py' from 'C:\\palworld-admin\\.venv\\Lib\\site-packages\\PyInstaller\\hooks'...
3935 INFO: Loading module hook 'hook-charset_normalizer.py' from 'C:\\palworld-admin\\.venv\\Lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'...
4143 INFO: Loading module hook 'hook-certifi.py' from 'C:\\palworld-admin\\.venv\\Lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'...
4370 INFO: Loading module hook 'hook-multiprocessing.util.py' from 'C:\\palworld-admin\\.venv\\Lib\\site-packages\\PyInstaller\\hooks'...
4412 INFO: Loading module hook 'hook-xml.py' from 'C:\\palworld-admin\\.venv\\Lib\\site-packages\\PyInstaller\\hooks'...
5783 INFO: Loading module hook 'hook-sysconfig.py' from 'C:\\palworld-admin\\.venv\\Lib\\site-packages\\PyInstaller\\hooks'...
6077 INFO: Loading module hook 'hook-difflib.py' from 'C:\\palworld-admin\\.venv\\Lib\\site-packages\\PyInstaller\\hooks'...
6286 INFO: Loading module hook 'hook-jinja2.py' from 'C:\\palworld-admin\\.venv\\Lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'...
6975 INFO: Loading module hook 'hook-pkg_resources.py' from 'C:\\palworld-admin\\.venv\\Lib\\site-packages\\PyInstaller\\hooks'...
7560 INFO: Loading module hook 'hook-sqlalchemy.py' from 'C:\\palworld-admin\\.venv\\Lib\\site-packages\\PyInstaller\\hooks'...
11000 INFO: Loading module hook 'hook-mako.codegen.py' from 'C:\\palworld-admin\\.venv\\Lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'...
11344 INFO: Loading module hook 'hook-zoneinfo.py' from 'C:\\palworld-admin\\.venv\\Lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'...
12401 INFO: Analyzing hidden import 'eventlet.hubs.epolls'
12405 INFO: Analyzing hidden import 'eventlet.hubs.kqueue'
12411 INFO: Analyzing hidden import 'eventlet.hubs.selects'
12416 INFO: Analyzing hidden import 'dns'
12425 INFO: Analyzing hidden import 'dns.rdtypes'
12425 INFO: Analyzing hidden import 'dns.rdtypes.ANY'
12426 INFO: Analyzing hidden import 'dns.rdtypes.IN'
12429 INFO: Analyzing hidden import 'dns.rdtypes.CH'
12429 INFO: Analyzing hidden import 'dns.rdtypes.dnskeybase'
12463 INFO: Loading module hook 'hook-dns.rdata.py' from 'C:\\palworld-admin\\.venv\\Lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'...
12804 INFO: Analyzing hidden import 'dns.asyncbackend'
13237 INFO: Analyzing hidden import 'dns.dnssec'
13300 INFO: Analyzing hidden import 'dns.e164'
13301 INFO: Analyzing hidden import 'dns.namedict'
13308 INFO: Analyzing hidden import 'dns.tsigkeyring'
13312 INFO: Analyzing hidden import 'dns.versioned'
13320 INFO: Analyzing hidden import 'logging.config'
13371 INFO: Processing module hooks...
13547 WARNING: Hidden import "tzdata" not found!
13776 INFO: Loading module hook 'hook-packaging.py' from 'C:\\palworld-admin\\.venv\\Lib\\site-packages\\PyInstaller\\hooks'...
13836 INFO: Loading module hook 'hook-sqlalchemy.py' from 'C:\\palworld-admin\\.venv\\Lib\\site-packages\\PyInstaller\\hooks'...
14079 WARNING: Hidden import "pysqlite2" not found!
14079 WARNING: Hidden import "MySQLdb" not found!
14147 INFO: Loading module hook 'hook-sqlite3.py' from 'C:\\palworld-admin\\.venv\\Lib\\site-packages\\PyInstaller\\hooks'...
14394 INFO: Performing binary vs. data reclassification (25 entries)
14407 INFO: Looking for ctypes DLLs
14425 INFO: Analyzing run-time hooks ...
14429 INFO: Including run-time hook 'C:\\palworld-admin\\.venv\\Lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_pkgutil.py'
14432 INFO: Processing pre-find module path hook _pyi_rth_utils from 'C:\\palworld-admin\\.venv\\Lib\\site-packages\\PyInstaller\\hooks\\pre_find_module_path\\hook-_pyi_rth_utils.py'.
14440 INFO: Loading module hook 'hook-_pyi_rth_utils.py' from 'C:\\palworld-admin\\.venv\\Lib\\site-packages\\PyInstaller\\hooks'...
14441 INFO: Including run-time hook 'C:\\palworld-admin\\.venv\\Lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_inspect.py'
14442 INFO: Including run-time hook 'C:\\palworld-admin\\.venv\\Lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_multiprocessing.py'
14447 INFO: Including run-time hook 'C:\\palworld-admin\\.venv\\Lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_pkgres.py'
14458 INFO: Looking for dynamic libraries
2024-02-28 10:49:34,958 - INFO - Pyinstaller mode: False
2024-02-28 10:49:34,958 - INFO - Application OS: Windows
2024-02-28 10:49:35,114 - INFO - Virtual Machine: False
2024-02-28 10:49:35,114 - INFO - CPU cores: 32
2024-02-28 10:49:35,115 - INFO - Local server steamcmd path: C:\palworld-admin\steamcmd/steamcmd.exe
2024-02-28 10:49:35,115 - INFO - Local server launcher path: C:\palworld-admin\steamcmd/steamapps/common/PalServer/PalServer.exe
2024-02-28 10:49:35,115 - INFO - Local server ini path: C:\palworld-admin\steamcmd/steamapps/common/PalServer/Pal/Saved/Config/WindowsServer\PalWorldSettings.ini
2024-02-28 10:49:35,115 - INFO - Local server backup path: C:\palworld-admin\Backups/
2024-02-28 10:49:35,115 - INFO - Local server data path: C:\palworld-admin\steamcmd/steamapps/common/PalServer/Pal/Saved
2024-02-28 10:49:35,115 - INFO - Local server sav path:
2024-02-28 10:49:35,429 - INFO - Downloaded template: ui.html
2024-02-28 10:49:35,687 - INFO - Downloaded template: login.html
16942 INFO: Extra DLL search directories (AddDllDirectory): []
16944 INFO: Extra DLL search directories (PATH): []
17128 WARNING: Library not found: could not resolve 'api-ms-win-core-path-l1-1-0.dll', dependency of 'C:\\Program Files\\Python312\\python312.dll'.
17135 INFO: Warnings written to C:\palworld-admin\build\palworld-admin-no-ui\warn-palworld-admin-no-ui.txt
17193 INFO: Graph cross-reference written to C:\palworld-admin\build\palworld-admin-no-ui\xref-palworld-admin-no-ui.html
17217 INFO: checking PYZ
17217 INFO: Building PYZ because PYZ-00.toc is non existent
17217 INFO: Building PYZ (ZlibArchive) C:\palworld-admin\build\palworld-admin-no-ui\PYZ-00.pyz
18188 INFO: Building PYZ (ZlibArchive) C:\palworld-admin\build\palworld-admin-no-ui\PYZ-00.pyz completed successfully.
18205 INFO: checking PKG
18206 INFO: Building PKG because PKG-00.toc is non existent
18206 INFO: Building PKG (CArchive) palworld-admin-no-ui.pkg
19890 INFO: Building PKG (CArchive) palworld-admin-no-ui.pkg completed successfully.
19892 INFO: Bootloader C:\palworld-admin\.venv\Lib\site-packages\PyInstaller\bootloader\Windows-64bit-intel\run.exe
19892 INFO: checking EXE
19892 INFO: Building EXE because EXE-00.toc is non existent
19892 INFO: Building EXE from EXE-00.toc
19892 INFO: Copying bootloader EXE to C:\palworld-admin\dist\palworld-admin-no-ui.exe
19971 INFO: Copying icon to EXE
20010 INFO: Copying 0 resources to EXE
20010 INFO: Embedding manifest in EXE
20045 INFO: Appending PKG archive to EXE
20054 INFO: Fixing EXE headers
23078 INFO: Building EXE from EXE-00.toc completed successfully.
If you want to build the UI Electron App, install node along with the dependencies show in the ui directory main.js and package.json, then run:
npx electron-packager . palworld-admin-ui --platform=win32 --arch=x64 --icon='./assets/icon.ico' --overwrite
from the UI directory. That'll give you the missing palworld-admin-ui-win32-x64 directory
Otherwise, you can just build the no-ui version as shown above and simply use your browser to access it on port 8210
There are also some errors in the way you're using poetry/pyinstaller:
poetry config virtualenvs.in-project true
beforehand though, so the venv goes in the project directory so it's easy for you to get rid of it later if you want to.poetry install
poetry run pyinstaller palworld-admin-no-ui.spec
Going to close this as pyinstaller is no longer being used/supported (moved to using Nuitka instead)
As title.