-
Notifications
You must be signed in to change notification settings - Fork 181
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
ModuleNotFoundError: No module named 'rembg' #16
Comments
Same. Added to colab+ using extension tab, but hit this error. |
Same. Linux Debian 12. AUTOMATIC1111 webui v1.4.0 |
Same, with preceding error:
I think the problem comes from line |
same. I have tried to use it in my streamlit app, but got this error. |
same problem here in sd 1.6, any ideas why? |
same. i have using macos 14.1 |
` stable-diffusion-webui % rembg --help Options: Commands: |
thx,that works for me |
I met this but I solved it by changing the rembg version in the install.py from 2.0.38 to 2.0.52, bcz when I run the webui script, it showed “ERROR: No matching distribution found for rembg==2.0.38”, so I go to pycharm to check if any version avaliable and then found the 2.0.52 version. |
Open powershell run the following command to activate automatic/A1111 virtualenv, modify path if needed.
Run the following to confirm no version of rembg is installed
Run the following to install the latest version of rembg
Start SD.Next/automatic/A1111 using webui.ps1, go to control, upload picture, select rembg mode and click generate. Have a good one, cheers. |
I performed these two steps and other problems occurred |
It seems that there's an error loading the script postprocessing_rembg.py due to a missing module named rembg. To resolve this issue, you need to install the rembg module. You can do this using pip, the Python package manager, by running the following command in your terminal or command prompt:
This command will download and install the rembg module along with its dependencies. After the installation is complete, you should be able to load the script postprocessing_rembg.py without encountering the ModuleNotFoundError. |
I have just discovered this script. And after installing it on the fresh web-ui and enabling it in the Extensions tab I got this error
The text was updated successfully, but these errors were encountered: