-
Notifications
You must be signed in to change notification settings - Fork 6
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
cv2.ximgproc #2
Comments
I managed to fix it by removing --user in the install.py file |
indeed |
Very strange... |
I finally found the problem. During webui running it uses opencv, so this extension can't modify opencv package and install any additional module of opencv. So we need to install opencv-contrib-python by hand when webui is not running. |
Did do that... but it says already satisfied, still wont work in webui (venv) X:\STABLEDIFFUSION\AUTOMATIC11111>pip install opencv-contrib-python |
hi, i can't run extension a of cv2.ximgproc.
I tried to reinstall it using these commands but it didn't work.
pip uninstall opencv-contrib-python opencv-python
pip install opencv-contrib-python
log :
Error running install.py for extension extensions\stable-diffusion-webui-adverse-cleaner-tab.
Command: "E:\ia\stable-diffusion-webui\venv\Scripts\python.exe" "extensions\stable-diffusion-webui-adverse-cleaner-tab\install.py"
Error code: 1
stdout:
stderr: Traceback (most recent call last):
File "E:\ia\stable-diffusion-webui\extensions\stable-diffusion-webui-adverse-cleaner-tab\install.py", line 3, in
if not launch.is_installed("cv2.ximgproc"):
File "E:\ia\stable-diffusion-webui\launch.py", line 127, in is_installed
spec = importlib.util.find_spec(package)
File "C:\Python310\lib\importlib\util.py", line 114, in find_spec
raise ValueError('{}.spec is None'.format(name))
ValueError: cv2.ximgproc.spec is None
The text was updated successfully, but these errors were encountered: