noccu / umamusu-translate

A toolset (+patch) for translating Uma Musume: Pretty Derby
https://ko-fi.com/noccyu
89 stars 27 forks source link

having issues with install.bat. #56

Open Kotonoha003 opened 10 months ago

Kotonoha003 commented 10 months ago

hello im having issues with install.bat. image

rukaiui commented 10 months ago

i am running into the same issue i also reinstalled python, same version as before and also older versions like 3.9 and running into the same error. I will also attach a full log to this post as a comment so the whole executiuon is viewable: log.txt i hope this helps with finding the issue

noccu commented 10 months ago

This is an issue with using python 3.12, as hinted at in the install guide. It is still new and many libraries have not updated their distributions yet, causing the install process to try to build them locally. This will fail on PCs not set up for development.

The solution is to use python 3.11 at most. When doing so, first the .venv folder in the patch should be deleted before running install.bat again. Python 3.12 should also be uninstalled, or if you need it for something else you can create the venv yourself by opening a cmd in the patch folder (you can simply write "cmd" in the windows explorer address bar and hit enter), paste py -3.11 -m venv .venv and enter (-3.11 can be replaced with the version you have installed), then running install.bat again.

In short:

  1. delete the .venv folder from the patch
  2. uninstall python 3.12 and install 3.11
  3. run install.bat again
wesh92 commented 8 months ago

From what I can tell this is not an issue any longer. Using Python 3.12 everything proceeded as expected!