cheahjs / palworld-save-tools

Tools for converting Palworld .sav files to JSON and back
MIT License
785 stars 68 forks source link

"Python is not installed" #21

Closed JoshRiser closed 7 months ago

JoshRiser commented 7 months ago

I keep getting a message saying Python is not installed when trying to convert a sav to json. I have python installed, and I can see it print the python version. Do I need to have a very specific version? I installed the latest stable version (3.12.1)

python-error

Zevgor commented 7 months ago

It looks like it needs to have 'python3' resolve as an execution of Python - I had the same issue. Just open a new CMD window, type 'python3' and install from the WIndows store.

cheahjs commented 7 months ago

v0.6 should fix the batch script to properly search for a Python installation (either installed as python3, python, or py).

PepGames commented 7 months ago

I am still having this issue on v0.6

EDIT: Do we need python 12? I have 7-11 but none of those worked, downloading python from microsoft store now instead of pythons site.

JoshRiser commented 7 months ago

I am still having this issue on v0.6

Same. Installing python3 from the Microsoft Store did fix it for me.

rkocour commented 7 months ago

Same issue. Downgrading to 4.1 works. but any version after it up to 7.1 didn't see my python 3.10 installation. Upgrading to 3.12 to see if that makes a difference

Rofltofl commented 7 months ago

For all having issues using the script, first time i had the same. Just change the checked version in the bat/cmd file to your installed version i. e. i had to change "python3" to "python311" as i have 3.11.3 installed. github-help

Rotnam commented 7 months ago

I have seen something similar in the past. This might help: There is a function in Windows that call the microsoft store if you type python.exe or python3.exe, you might want to disable that. It's called "App Execution Aliases" (manage app execution aliases in windows).

Jernee commented 7 months ago

I have seen something similar in the past. This might help: There is a function in Windows that call the microsoft store if you type python.exe or python3.exe, you might want to disable that. It's called "App Execution Aliases" (manage app execution aliases in windows).

This worked for me, had the exact same problem.

rkocour commented 7 months ago

I ripped out all my python installs (appdata, install path, and path records) and re-installed from windows store version 3.12 and it seemed to work.

Rotnam commented 7 months ago

Not much to do with this project, should probably add in the readme.MD that disabling python/python3 in App Execution Aliases fix this issue if you have the regular python installed.

Keinta15 commented 7 months ago

I have seen something similar in the past. This might help: There is a function in Windows that call the microsoft store if you type python.exe or python3.exe, you might want to disable that. It's called "App Execution Aliases" (manage app execution aliases in windows).

This is what worked for me too