deafdudecomputers / PalWorldSaveTools

PalWorldSaveTools, all in one tools that helps fix/transfer/etc for PalWorld saves.
MIT License
20 stars 5 forks source link

I've got this problem when click on fix_host_save.cmd #14

Closed PCake0w0 closed 3 weeks ago

PCake0w0 commented 3 weeks ago

Found Python at C:\Users\PCake\AppData\Local\Microsoft\WindowsApps\python.exe Python Version: Python 3.11.9 Executing fix_host_save.py using C:\Users\PCake\AppData\Local\Microsoft\WindowsApps\python.exe... Save Path: D:\Pal\PalworldSaveTools.v0.8.8\LocalWorldSave\Level.sav Running: "C:\Users\PCake\AppData\Local\Microsoft\WindowsApps\python.exe" "fix_host_save.py" Attempting to ensure pip is installed... Pip installed successfully. Attempting to find msgpack... msgpack is already installed. Attempting to find palworld_coord... palworld_coord not found. Installing... Failed to install palworld_coord. Error: Command '['C:\Users\PCake\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\python.exe', '-m', 'pip', 'install', 'palworld_coord', '--target=D:\Pal\PalworldSaveTools.v0.8.8\external_libs', '--no-cache-dir']' returned non-zero exit status 1. Attempting to find psutil... psutil is already installed. Attempting to find palworld_save_tools... palworld_save_tools is already installed. Attempting to find matplotlib... matplotlib not found. Installing... Failed to install matplotlib. Error: Command '['C:\Users\PCake\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\python.exe', '-m', 'pip', 'install', 'matplotlib', '--target=D:\Pal\PalworldSaveTools.v0.8.8\external_libs', '--no-cache-dir']' returned non-zero exit status 1. Attempting to find pandas... pandas is already installed. Attempting to find cityhash... cityhash is already installed. Traceback (most recent call last): File "D:\Pal\PalworldSaveTools.v0.8.8\fix_host_save.py", line 1, in from fix_save import File "D:\Pal\PalworldSaveTools.v0.8.8\fix_save.py", line 7, in from internal_libs.import_libs import File "D:\Pal\PalworldSaveTools.v0.8.8\internal_libs\import_libs.py", line 78, in import psutil, msgpack, palworld_coord ModuleNotFoundError: No module named 'palworld_coord'

deafdudecomputers commented 3 weeks ago

This likely occurs due to two reasons:

1) WindowsApp based Python isn't reliable. Consider using the one from official Python via python.org/downloads

2) External drives, such as D\:, may cause some conflicting installations.

I'll take a look on second part to see if there's a fix for this.

deafdudecomputers commented 3 weeks ago

I still suggest using the official version of python, via python.org/downloads.

WindowsApps is the issue here. I am unable to help in this situation. As I can see, some packages are able to be installed, but some of them aren't able to install. Again, I suggest you to use official version. Don't use WindowsApps version.

PCake0w0 commented 3 weeks ago

Yep Ty for that

PCake0w0 commented 3 weeks ago

Its working properly now Tys