Sanster / iopaint-docs

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

win_config.bat error #14

Open estelole opened 4 months ago

estelole commented 4 months ago
微信图片_20240314173755

hi,What should I do if this happens?

Sanster commented 4 months ago

Based on this issue, it seems that there was an error during the dependency installation process, leading to import errors. I suggest trying to modify this line in win_config.bat.

pip3 install -U lama-cleaner 

Modify the above line to the following two lines, and then re-run win_config.bat:

@call pip3 uninstall -y gradio lama-cleaner
@call pip3 install -U lama-cleaner -i https://pypi.tuna.tsinghua.edu.cn/simple

BTW: The installation package you downloaded is for lama-cleaner. lama-cleaner has been renamed to IOPaint. You should be able to see a button to download IOPaint on the page where you downloaded the lama-cleaner zip package.

estelole commented 4 months ago

Okay, I will download and try IOPaint. Thank you.

bentiancrv commented 4 months ago

![Uploading eb537df372d3d4449a61ec7bc9c99ce.png…]()

bentiancrv commented 4 months ago

我用windows10 安装此软件,出现报错 UnicodeDecodeError: 'gbk' codec can't decode byte 0xb2 in position 1972: illegal multibyte sequence 能帮忙解决吗?

Sanster commented 4 months ago

我用windows10 安装此软件,出现报错 UnicodeDecodeError: 'gbk' codec can't decode byte 0xb2 in position 1972: illegal multibyte sequence 能帮忙解决吗?

你好,你上传的图片查看不了,麻烦再传一下吧

kinsenam commented 4 months ago

win11一样遇到gbk报错,启动不了。 WechatIMG137

Sanster commented 4 months ago

iopaint==1.2.3 中修复了,主要是由于 gradio 新版本引起的问题,重新执行 win_config.bat 会自动升级到新版本

相关 issue 参考:https://github.com/THUDM/ChatGLM3/discussions/1009