Sanster / iopaint-docs

https://iopaint-docs.vercel.app
MIT License
2 stars 2 forks source link

'iopaint' is not recognized as an internal or external command, #20

Open otter5555 opened 3 months ago

otter5555 commented 3 months ago

Im getting the error: 'iopaint' is not recognized as an internal or external command, operable program or batch file. after running the config file (it stops after this code is displayed), and after running the start file this is all that is displayed. The files were extracted and not moved. This is on Windows 10

Sanster commented 3 months ago
Im getting the error: 'iopaint' is not recognized as an internal or external command,
operable program or batch file.

Sorry, I currently don't know how to solve this error encountered when running win_config.bat. Could you send an email to my inbox (cwq1913@gmail.com) using the email you used during purchase so that I can issue you a refund?

Sanster commented 2 months ago

The error may require manual modification of the C:\IOPaint-v1\installer\lib\site.py file ( The path of the site.py file is related to your installation directory, and the error log of the program will display the path of the site.py file.). The modification is around line 173 of the site.py file, changing the following line:

f = io.TextIOWrapper(io.open_code(fullname), encoding="locale")

To:

f = io.TextIOWrapper(io.open_code(fullname), encoding="utf-8")
lessirey commented 2 months ago

The error may require manual modification of the C:\IOPaint-v1\installer\lib\site.py file ( The path of the site.py file is related to your installation directory, and the error log of the program will display the path of the site.py file.). The modification is around line 173 of the site.py file, changing the following line:

f = io.TextIOWrapper(io.open_code(fullname), encoding="locale")

To:

f = io.TextIOWrapper(io.open_code(fullname), encoding="utf-8")

Screenshot 2024-05-19 163805

getting the same error here installing even after making the above mentioned changes. using One click installer on Windows 11

Sanster commented 2 months ago

@lessirey Sorry for the inconvenience. Based on this log alone, I can't determine the problem. Please email me with the email you used for the purchase (cwq1913@gmail.com), and I will issue a refund (I can't find the corresponding account in Lemon Squeezy's backend based on your GitHub account).

Dendane commented 3 weeks ago

Have the same issue but (kinda) fixed it.

@call C:\Users\YOURNAME\AppData\Roaming\Python\Python310\Scripts\iopaint.exe install-plugins-packages

@call C:\Users\YOURNAME\AppData\Roaming\Python\Python310\Scripts\iopaint.exe start-web-config --config-file %0..\installer_config.json

@call C:\Users\YOURNAME\AppData\Roaming\Python\Python310\Scripts\iopaint.exe start --config %0..\installer_config.json

It should now install correctly and you should also be able to launch win_start.bat after this.

Hopefully that works for you too