Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: RemoveBG is not installed, please install it first. pip install -U rembg #48

Open
sandrojclic opened this issue Nov 22, 2024 · 2 comments

Comments

@sandrojclic
Copy link

Hi, I get the following error when I run the win_start.bat file: 2024-11-22 18:04:14.448 | ERROR | iopaint.plugins.base_plugin:init:15 - RemoveBG is not installed, please install it first. pip install -U rembg.
Thanks

@Sanster
Copy link
Owner

Sanster commented Nov 23, 2024

Rembg recently updated its dependencies and removed the dependency on onnxruntime: danielgatis/rembg#691

You can create a new bat file in the same directory as win_start.bat, copy the content below into that file, and then execute the file. This file will install onnxruntime.

@echo off

set PATH=C:\Windows\System32;%PATH%

@call installer\Scripts\activate.bat

@call pip install onnxruntime

PAUSE

@sandrojclic
Copy link
Author

Hello, I did what you told me and the problem was solved. Thank you very much, very kind indeed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants