Open otter5555 opened 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?
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")
The error may require manual modification of the
C:\IOPaint-v1\installer\lib\site.py
file ( The path of thesite.py
file is related to your installation directory, and the error log of the program will display the path of thesite.py
file.). The modification is around line 173 of thesite.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")
getting the same error here installing even after making the above mentioned changes. using One click installer on Windows 11
@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).
Have the same issue but (kinda) fixed it.
Install using win_config.bat
During the install you will get the "iopaint' is not recognized as an internal or external command" error
After the failed install locate iopaint.exe, usually found in your Phyton scripts folder
C:\Users\YOURNAME\AppData\Roaming\Python\Python310\Scripts\iopaint.exe
(change YOURNAME)
edit win_config.bat and win_start.bat and replace all the iopaint rows with the above
For win_config.bat change to
@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
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