IOPaint
IOPaint copied to clipboard
[BUG] Lama cleaner not starting (1-click installer)
So I installed just like what the instruction said when I execute win-start.exe. it said
Error: cannot import name 'url_quote' from 'werkzeug.urls'. Press any key to continue . . .
When I click any key it just closed the program. A step by step guide on how to fix this would be nice
Same error
Sorry, it may be the behavior of the upstream dependency package that has changed. I don't have my computer with me these days. I estimate it will be available on October 5th or 6th to fix this issue.
Same problem;(
pip install flask==2.2.2 and then pip install Werkzeug==2.2.2 works for me
pip install flask==2.2.2 and then pip install Werkzeug==2.2.2 works for me
So where do I put the command? I'm not good with these stuff, that's why I use the 1 click installer.
pip install flask==2.2.2 and then pip install Werkzeug==2.2.2 works for me
It starts in the end using these commands, but there are dependency resolver errors: It says: lama-cleaner 1.2.3 requires flask==2.2.3 on both commands. Therefore this can only be a workaround and not the fix.
pip install flask==2.2.2
Collecting flask==2.2.2
Downloading Flask-2.2.2-py3-none-any.whl (101 kB)
---------------------------------------- 101.5/101.5 kB 6.1 MB/s eta 0:00:00
Requirement already satisfied: Werkzeug>=2.2.2 in c:\program files\python310\lib\site-packages (from flask==2.2.2) (3.0.0)
Requirement already satisfied: Jinja2>=3.0 in c:\program files\python310\lib\site-packages (from flask==2.2.2) (3.1.2)
Requirement already satisfied: itsdangerous>=2.0 in c:\program files\python310\lib\site-packages (from flask==2.2.2) (2.1.2)
Requirement already satisfied: click>=8.0 in c:\program files\python310\lib\site-packages (from flask==2.2.2) (8.1.7)
Requirement already satisfied: colorama in c:\program files\python310\lib\site-packages (from click>=8.0->flask==2.2.2) (0.4.6)
Requirement already satisfied: MarkupSafe>=2.0 in c:\program files\python310\lib\site-packages (from Jinja2>=3.0->flask==2.2.2) (2.1.3)
Installing collected packages: flask
Attempting uninstall: flask
Found existing installation: Flask 2.1.3
Uninstalling Flask-2.1.3:
Successfully uninstalled Flask-2.1.3
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
lama-cleaner 1.2.3 requires flask==2.2.3, but you have flask 2.2.2 which is incompatible.
Successfully installed flask-2.2.2
pip install Werkzeug==2.2.2
Collecting Werkzeug==2.2.2
Downloading Werkzeug-2.2.2-py3-none-any.whl (232 kB)
---------------------------------------- 232.7/232.7 kB 13.9 MB/s eta 0:00:00
Requirement already satisfied: MarkupSafe>=2.1.1 in c:\program files\python310\lib\site-packages (from Werkzeug==2.2.2) (2.1.3)
Installing collected packages: Werkzeug
Attempting uninstall: Werkzeug
Found existing installation: Werkzeug 3.0.0
Uninstalling Werkzeug-3.0.0:
Successfully uninstalled Werkzeug-3.0.0
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
lama-cleaner 1.2.3 requires flask==2.2.3, but you have flask 2.2.2 which is incompatible.
Successfully installed Werkzeug-2.2.2
So where do I put the command? I'm not good with these stuff, that's why I use the 1 click installer.
When you run Lama Cleaner, Windows cmd opens (a window with a black background) you need to enter there.
It starts in the end using these commands, but there are dependency resolver errors: It says: lama-cleaner 1.2.3 requires flask==2.2.3 on both commands. Therefore this can only be a workaround and not the fix.
Yes, it writes errors, but it seems to me that the latest versions of libraries are not necessary. I had the same error, after searching web I found a discussion about a problem in werkzeug version 3.0.0. Until the deves of this module fix it, it’s quite a working way to stay on the previous version.
So I installed just like what the instruction said when I execute win-start.exe. it said
Error: cannot import name 'url_quote' from 'werkzeug.urls'. Press any key to continue . . .
When I click any key it just closed the program. A step by step guide on how to fix this would be nice
The issue has been fixed in lama-cleaner==1.2.4
(it pinned the version of werkzeug to 2.2.2).
For 1 click installer users, you can run win_config.bat
to upgrade to the latest version