I am trying to run this without a GPU, CPU only.
:v2-cpu-22.04 is broken when it comes to pip.
You have to monkey around with the below:
numpy
scikit-image
opencv-python
protobuf
open-clip-torch
I managed to get stable-diffusion-webui to load once but never again. I don't know what order I managed to uninstall and install the above packages but I got it right just once.
It keeps installing numpy 2.2.6 which leads to conflicts.
I tried modifying config/provisioning/default.sh but it still installs numpy 2 on boot up and starts the chase all over again.
You also have to remove https://github.com/ototadana/sd-face-editor from that file or it will throw errors.
provisioning_print_header
provisioning_get_apt_packages
provisioning_get_pip_packages
provisioning_get_extensions
# Force numpy downgrade and install dependencies
pip uninstall -y numpy
pip install --no-cache-dir --ignore-installed numpy==1.26.2 scikit-image==0.21.0 opencv-python==4.11.0.86 protobuf==4.25.3
pip uninstall -y open-clip-torch
(forge) root@e8312d2a6db9:/workspace# pip install --no-cache-dir --ignore-installed numpy==1.26.2 scikit-image==0.21.0 opencv-python==4.11.0.86 protobuf==4.25.3
Collecting numpy==1.26.2
Downloading numpy-1.26.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (18.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 18.2/18.2 MB 80.9 kB/s eta 0:00:00
Collecting scikit-image==0.21.0
Downloading scikit_image-0.21.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (13.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 13.8/13.8 MB 87.2 kB/s eta 0:00:00
Collecting opencv-python==4.11.0.86
Downloading opencv_python-4.11.0.86-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (63.0 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 63.0/63.0 MB 957.3 kB/s eta 0:00:00
Collecting protobuf==4.25.3
Downloading protobuf-4.25.3-cp37-abi3-manylinux2014_x86_64.whl (294 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 294.6/294.6 KB 1.3 MB/s eta 0:00:00
Collecting lazy_loader>=0.2
Downloading lazy_loader-0.4-py3-none-any.whl (12 kB)
Collecting imageio>=2.27
Downloading imageio-2.37.0-py3-none-any.whl (315 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 315.8/315.8 KB 1.0 MB/s eta 0:00:00
Collecting networkx>=2.8
Downloading networkx-3.4.2-py3-none-any.whl (1.7 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.7/1.7 MB 1.2 MB/s eta 0:00:00
Collecting packaging>=21
Downloading packaging-25.0-py3-none-any.whl (66 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 66.5/66.5 KB 2.3 MB/s eta 0:00:00
Collecting pillow>=9.0.1
Downloading pillow-11.3.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (6.6 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.6/6.6 MB 993.2 kB/s eta 0:00:00
Collecting tifffile>=2022.8.12
Downloading tifffile-2025.5.10-py3-none-any.whl (226 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 226.5/226.5 KB 819.4 kB/s eta 0:00:00
Collecting PyWavelets>=1.1.1
Downloading pywavelets-1.8.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.5 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.5/4.5 MB 711.2 kB/s eta 0:00:00
Collecting scipy>=1.8
Downloading scipy-1.15.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (37.7 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 37.7/37.7 MB 889.8 kB/s eta 0:00:00
Installing collected packages: protobuf, pillow, packaging, numpy, networkx, tifffile, scipy, PyWavelets, opencv-python, lazy_loader, imageio, scikit-image
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.
open-clip-torch 2.20.0 requires protobuf<4, but you have protobuf 4.25.3 which is incompatible.
gradio 3.41.2 requires pillow<11.0,>=8.0, but you have pillow 11.3.0 which is incompatible.
blendmodes 2022 requires Pillow<10,>=9.0.0, but you have pillow 11.3.0 which is incompatible.
Successfully installed PyWavelets-1.8.0 imageio-2.37.0 lazy_loader-0.4 networkx-3.4.2 numpy-1.26.2 opencv-python-4.12.0.88 packaging-25.0 pillow-11.3.0 protobuf-4.25.8 scikit-image-0.21.0 scipy-1.15.3 tifffile-2025.5.10
(forge) root@e8312d2a6db9:/workspace# pip check
opencv-python 4.12.0.88 has requirement numpy<2.3.0,>=2; python_version >= "3.9", but you have numpy 1.26.2.
open-clip-torch 2.20.0 has requirement protobuf<4, but you have protobuf 4.25.8.
gradio 3.41.2 has requirement pillow<11.0,>=8.0, but you have pillow 11.3.0.
blendmodes 2022 has requirement Pillow<10,>=9.0.0, but you have pillow 11.3.0.
(forge) root@e8312d2a6db9:/workspace# pip uninstall opencv-python
WARNING: Ignoring invalid distribution -umpy (/opt/environments/python/forge/lib/python3.10/site-packages)
WARNING: Ignoring invalid distribution -umpy (/opt/environments/python/forge/lib/python3.10/site-packages)
Found existing installation: opencv-python 4.12.0.88
Uninstalling opencv-python-4.12.0.88:
Would remove:
/opt/environments/python/forge/lib/python3.10/site-packages/cv2/*
/opt/environments/python/forge/lib/python3.10/site-packages/opencv_python-4.12.0.88.dist-info/*
/opt/environments/python/forge/lib/python3.10/site-packages/opencv_python.libs/libQt5Core-e7f476e2.so.5.15.16
/opt/environments/python/forge/lib/python3.10/site-packages/opencv_python.libs/libQt5Gui-3e966859.so.5.15.16
/opt/environments/python/forge/lib/python3.10/site-packages/opencv_python.libs/libQt5Test-9ac3ed15.so.5.15.16
/opt/environments/python/forge/lib/python3.10/site-packages/opencv_python.libs/libQt5Widgets-cd430389.so.5.15.16
/opt/environments/python/forge/lib/python3.10/site-packages/opencv_python.libs/libQt5XcbQpa-3cfa6167.so.5.15.16
/opt/environments/python/forge/lib/python3.10/site-packages/opencv_python.libs/libX11-xcb-0e257303.so.1.0.0
/opt/environments/python/forge/lib/python3.10/site-packages/opencv_python.libs/libXau-00ec42fe.so.6.0.0
/opt/environments/python/forge/lib/python3.10/site-packages/opencv_python.libs/libaom-49d00b71.so.3.12.1
/opt/environments/python/forge/lib/python3.10/site-packages/opencv_python.libs/libavcodec-e0dd92b8.so.59.37.100
/opt/environments/python/forge/lib/python3.10/site-packages/opencv_python.libs/libavformat-d296e685.so.59.27.100
/opt/environments/python/forge/lib/python3.10/site-packages/opencv_python.libs/libavif-850e7649.so.16.3.0
/opt/environments/python/forge/lib/python3.10/site-packages/opencv_python.libs/libavutil-734d06dd.so.57.28.100
/opt/environments/python/forge/lib/python3.10/site-packages/opencv_python.libs/libcrypto-01067bc0.so.1.1
/opt/environments/python/forge/lib/python3.10/site-packages/opencv_python.libs/libgfortran-91cc3cb1.so.3.0.0
/opt/environments/python/forge/lib/python3.10/site-packages/opencv_python.libs/libopenblas-r0-f650aae0.3.3.so
/opt/environments/python/forge/lib/python3.10/site-packages/opencv_python.libs/libpng16-04239421.so.16.48.0
/opt/environments/python/forge/lib/python3.10/site-packages/opencv_python.libs/libquadmath-96973f99.so.0.0.0
/opt/environments/python/forge/lib/python3.10/site-packages/opencv_python.libs/libssl-28bef1ac.so.1.1
/opt/environments/python/forge/lib/python3.10/site-packages/opencv_python.libs/libswresample-3e7db482.so.4.7.100
/opt/environments/python/forge/lib/python3.10/site-packages/opencv_python.libs/libswscale-95ddd674.so.6.7.100
/opt/environments/python/forge/lib/python3.10/site-packages/opencv_python.libs/libvpx-127417df.so.11.0.0
/opt/environments/python/forge/lib/python3.10/site-packages/opencv_python.libs/libxcb-icccm-413c9f41.so.4.0.0
/opt/environments/python/forge/lib/python3.10/site-packages/opencv_python.libs/libxcb-image-e82a276d.so.0.0.0
/opt/environments/python/forge/lib/python3.10/site-packages/opencv_python.libs/libxcb-keysyms-21015570.so.1.0.0
/opt/environments/python/forge/lib/python3.10/site-packages/opencv_python.libs/libxcb-randr-a96a5a87.so.0.1.0
/opt/environments/python/forge/lib/python3.10/site-packages/opencv_python.libs/libxcb-render-637b984a.so.0.0.0
/opt/environments/python/forge/lib/python3.10/site-packages/opencv_python.libs/libxcb-render-util-43ce00f5.so.0.0.0
/opt/environments/python/forge/lib/python3.10/site-packages/opencv_python.libs/libxcb-shape-25c2b258.so.0.0.0
/opt/environments/python/forge/lib/python3.10/site-packages/opencv_python.libs/libxcb-shm-7a199f70.so.0.0.0
/opt/environments/python/forge/lib/python3.10/site-packages/opencv_python.libs/libxcb-sync-89374f40.so.1.0.0
/opt/environments/python/forge/lib/python3.10/site-packages/opencv_python.libs/libxcb-util-4d666913.so.1.0.0
/opt/environments/python/forge/lib/python3.10/site-packages/opencv_python.libs/libxcb-xfixes-9be3ba6f.so.0.0.0
/opt/environments/python/forge/lib/python3.10/site-packages/opencv_python.libs/libxcb-xinerama-ae147f87.so.0.0.0
/opt/environments/python/forge/lib/python3.10/site-packages/opencv_python.libs/libxcb-xkb-9ba31ab3.so.1.0.0
/opt/environments/python/forge/lib/python3.10/site-packages/opencv_python.libs/libxkbcommon-71ae2972.so.0.0.0
/opt/environments/python/forge/lib/python3.10/site-packages/opencv_python.libs/libxkbcommon-x11-c65ed502.so.0.0.0
Would not remove (might be manually added):
/opt/environments/python/forge/lib/python3.10/site-packages/cv2/bgsegm/__init__.pyi
/opt/environments/python/forge/lib/python3.10/site-packages/cv2/bioinspired/__init__.pyi
/opt/environments/python/forge/lib/python3.10/site-packages/cv2/ccm/__init__.pyi
/opt/environments/python/forge/lib/python3.10/site-packages/cv2/colored_kinfu/__init__.pyi
/opt/environments/python/forge/lib/python3.10/site-packages/cv2/datasets/__init__.pyi
/opt/environments/python/forge/lib/python3.10/site-packages/cv2/dnn_superres/__init__.pyi
/opt/environments/python/forge/lib/python3.10/site-packages/cv2/dpm/__init__.pyi
/opt/environments/python/forge/lib/python3.10/site-packages/cv2/dynafu/__init__.pyi
/opt/environments/python/forge/lib/python3.10/site-packages/cv2/face/__init__.pyi
/opt/environments/python/forge/lib/python3.10/site-packages/cv2/ft/__init__.pyi
/opt/environments/python/forge/lib/python3.10/site-packages/cv2/hfs/__init__.pyi
/opt/environments/python/forge/lib/python3.10/site-packages/cv2/img_hash/__init__.pyi
/opt/environments/python/forge/lib/python3.10/site-packages/cv2/intensity_transform/__init__.pyi
/opt/environments/python/forge/lib/python3.10/site-packages/cv2/kinfu/__init__.pyi
/opt/environments/python/forge/lib/python3.10/site-packages/cv2/kinfu/detail/__init__.pyi
/opt/environments/python/forge/lib/python3.10/site-packages/cv2/large_kinfu/__init__.pyi
/opt/environments/python/forge/lib/python3.10/site-packages/cv2/legacy/__init__.pyi
/opt/environments/python/forge/lib/python3.10/site-packages/cv2/line_descriptor/__init__.pyi
/opt/environments/python/forge/lib/python3.10/site-packages/cv2/linemod/__init__.pyi
/opt/environments/python/forge/lib/python3.10/site-packages/cv2/mcc/__init__.pyi
/opt/environments/python/forge/lib/python3.10/site-packages/cv2/motempl/__init__.pyi
/opt/environments/python/forge/lib/python3.10/site-packages/cv2/multicalib/__init__.pyi
/opt/environments/python/forge/lib/python3.10/site-packages/cv2/omnidir/__init__.pyi
/opt/environments/python/forge/lib/python3.10/site-packages/cv2/optflow/__init__.pyi
/opt/environments/python/forge/lib/python3.10/site-packages/cv2/phase_unwrapping/__init__.pyi
/opt/environments/python/forge/lib/python3.10/site-packages/cv2/plot/__init__.pyi
/opt/environments/python/forge/lib/python3.10/site-packages/cv2/ppf_match_3d/__init__.pyi
/opt/environments/python/forge/lib/python3.10/site-packages/cv2/quality/__init__.pyi
/opt/environments/python/forge/lib/python3.10/site-packages/cv2/rapid/__init__.pyi
/opt/environments/python/forge/lib/python3.10/site-packages/cv2/reg/__init__.pyi
/opt/environments/python/forge/lib/python3.10/site-packages/cv2/rgbd/__init__.pyi
/opt/environments/python/forge/lib/python3.10/site-packages/cv2/saliency/__init__.pyi
/opt/environments/python/forge/lib/python3.10/site-packages/cv2/signal/__init__.pyi
/opt/environments/python/forge/lib/python3.10/site-packages/cv2/stereo/__init__.pyi
/opt/environments/python/forge/lib/python3.10/site-packages/cv2/structured_light/__init__.pyi
/opt/environments/python/forge/lib/python3.10/site-packages/cv2/text/__init__.pyi
/opt/environments/python/forge/lib/python3.10/site-packages/cv2/videostab/__init__.pyi
/opt/environments/python/forge/lib/python3.10/site-packages/cv2/wechat_qrcode/__init__.pyi
/opt/environments/python/forge/lib/python3.10/site-packages/cv2/xfeatures2d/__init__.pyi
/opt/environments/python/forge/lib/python3.10/site-packages/cv2/ximgproc/__init__.pyi
/opt/environments/python/forge/lib/python3.10/site-packages/cv2/ximgproc/segmentation/__init__.pyi
/opt/environments/python/forge/lib/python3.10/site-packages/cv2/xphoto/__init__.pyi
Proceed (Y/n)? y
ERROR: Exception:
Traceback (most recent call last):
File "/usr/lib/python3.10/shutil.py", line 816, in move
os.rename(src, real_dst)
FileNotFoundError: [Errno 2] No such file or directory: '/opt/environments/python/forge/lib/python3.10/site-packages/opencv_python-4.12.0.88.dist-info/' -> '/tmp/pip-uninstall-e3uc4e5_/opencv_python-4.12.0.88.dist-info'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/environments/python/forge/lib/python3.10/site-packages/pip/_internal/cli/base_command.py", line 165, in exc_logging_wrapper
status = run_func(*args)
File "/opt/environments/python/forge/lib/python3.10/site-packages/pip/_internal/commands/uninstall.py", line 97, in run
uninstall_pathset = req.uninstall(
File "/opt/environments/python/forge/lib/python3.10/site-packages/pip/_internal/req/req_install.py", line 638, in uninstall
uninstalled_pathset.remove(auto_confirm, verbose)
File "/opt/environments/python/forge/lib/python3.10/site-packages/pip/_internal/req/req_uninstall.py", line 369, in remove
moved.stash(path)
File "/opt/environments/python/forge/lib/python3.10/site-packages/pip/_internal/req/req_uninstall.py", line 267, in stash
renames(path, new_path)
File "/opt/environments/python/forge/lib/python3.10/site-packages/pip/_internal/utils/misc.py", line 305, in renames
shutil.move(old, new)
File "/usr/lib/python3.10/shutil.py", line 836, in move
copy_function(src, real_dst)
File "/usr/lib/python3.10/shutil.py", line 434, in copy2
copyfile(src, dst, follow_symlinks=follow_symlinks)
File "/usr/lib/python3.10/shutil.py", line 254, in copyfile
with open(src, 'rb') as fsrc:
FileNotFoundError: [Errno 2] No such file or directory: '/opt/environments/python/forge/lib/python3.10/site-packages/opencv_python-4.12.0.88.dist-info/'
(forge) root@e8312d2a6db9:/workspace# pip check
WARNING: Error parsing requirements for numpy: [Errno 2] No such file or directory: '/opt/environments/python/forge/lib/python3.10/site-packages/numpy-1.26.2.dist-info/METADATA'
vhacdx 0.0.8.post2 requires numpy, which is not installed.
trimesh 4.7.0 requires numpy, which is not installed.
transformers 4.30.2 requires numpy, which is not installed.
torchvision 0.19.1+cpu requires numpy, which is not installed.
torchsde 0.2.6 requires numpy, which is not installed.
torchmetrics 1.7.4 requires numpy, which is not installed.
tifffile 2025.5.10 requires numpy, which is not installed.
tb-nightly 2.20.0a20250714 requires numpy, which is not installed.
spandrel 0.1.6 requires numpy, which is not installed.
shapely 2.1.1 requires numpy, which is not installed.
scipy 1.15.3 requires numpy, which is not installed.
scikit-image 0.21.0 requires numpy, which is not installed.
pywavelets 1.8.0 requires numpy, which is not installed.
pytorch-lightning 1.9.4 requires numpy, which is not installed.
pycollada 0.9.2 requires numpy, which is not installed.
pims 0.6.0 requires numpy, which is not installed.
pandas 2.3.1 requires numpy, which is not installed.
opencv-python 4.11.0.86 requires numpy, which is not installed.
opencv-python 4.11.0.86 requires numpy, which is not installed.
opencv-python 4.11.0.86 requires numpy, which is not installed.
opencv-python 4.11.0.86 requires numpy, which is not installed.
opencv-contrib-python 4.11.0.86 requires numpy, which is not installed.
opencv-contrib-python 4.11.0.86 requires numpy, which is not installed.
opencv-contrib-python 4.11.0.86 requires numpy, which is not installed.
opencv-contrib-python 4.11.0.86 requires numpy, which is not installed.
onnxruntime 1.22.1 requires numpy, which is not installed.
numexpr 2.11.0 requires numpy, which is not installed.
numba 0.61.2 requires numpy, which is not installed.
ml-dtypes 0.5.1 requires numpy, which is not installed.
ml-dtypes 0.5.1 requires numpy, which is not installed.
mediapipe 0.10.21 requires numpy, which is not installed.
matplotlib 3.10.3 requires numpy, which is not installed.
mapbox-earcut 1.0.3 requires numpy, which is not installed.
manifold3d 3.1.1 requires numpy, which is not installed.
jaxlib 0.6.2 requires numpy, which is not installed.
jax 0.6.2 requires numpy, which is not installed.
imageio 2.37.0 requires numpy, which is not installed.
gradio 3.41.2 requires numpy, which is not installed.
fvcore 0.1.5.post20221221 requires numpy, which is not installed.
filterpy 1.4.5 requires numpy, which is not installed.
facexlib 0.3.0 requires numpy, which is not installed.
embreex 2.17.7.post6 requires numpy, which is not installed.
diffusers 0.25.0 requires numpy, which is not installed.
contourpy 1.3.2 requires numpy, which is not installed.
clean-fid 0.1.35 requires numpy, which is not installed.
blendmodes 2022 requires numpy, which is not installed.
basicsr 1.4.2 requires numpy, which is not installed.
accelerate 0.21.0 requires numpy, which is not installed.
mediapipe 0.10.21 has requirement protobuf<5,>=4.25.3, but you have protobuf 3.20.3.
I could keep going but it is just an endless cycle of installing one thing and finding something else has been installed without you knowing and the conflict is there again.
How can you uninstall numpy 2.2.6 and it still be in the check?
(forge) root@e8312d2a6db9:/workspace# pip uninstall numpy
Found existing installation: numpy 2.2.6
Uninstalling numpy-2.2.6:
Would remove:
/opt/environments/python/forge/bin/f2py
/opt/environments/python/forge/bin/numpy-config
/opt/environments/python/forge/lib/python3.10/site-packages/numpy-2.2.6.dist-info/*
/opt/environments/python/forge/lib/python3.10/site-packages/numpy.libs/libgfortran-040039e1-0352e75f.so.5.0.0
/opt/environments/python/forge/lib/python3.10/site-packages/numpy.libs/libquadmath-96973f99-934c22de.so.0.0.0
/opt/environments/python/forge/lib/python3.10/site-packages/numpy.libs/libscipy_openblas64_-56d6093b.so
/opt/environments/python/forge/lib/python3.10/site-packages/numpy/*
Proceed (Y/n)? y
Successfully uninstalled numpy-2.2.6
(forge) root@e8312d2a6db9:/workspace# pip check
mediapipe 0.10.21 has requirement numpy<2, but you have numpy 2.2.6.
mediapipe 0.10.21 has requirement protobuf<5,>=4.25.3, but you have protobuf 3.20.3.
gradio 3.41.2 has requirement numpy~=1.0, but you have numpy 2.2.6.
blendmodes 2022 has requirement numpy<2,>=1.22.1, but you have numpy 2.2.6.
I am trying to run this without a GPU, CPU only.
:v2-cpu-22.04is broken when it comes to pip.You have to monkey around with the below:
numpy
scikit-image
opencv-python
protobuf
open-clip-torch
I managed to get stable-diffusion-webui to load once but never again. I don't know what order I managed to uninstall and install the above packages but I got it right just once.
It keeps installing
numpy 2.2.6which leads to conflicts.I tried modifying
config/provisioning/default.shbut it still installs numpy 2 on boot up and starts the chase all over again.You also have to remove
https://github.com/ototadana/sd-face-editorfrom that file or it will throw errors.provisioning_print_header provisioning_get_apt_packages provisioning_get_pip_packages provisioning_get_extensions # Force numpy downgrade and install dependencies pip uninstall -y numpy pip install --no-cache-dir --ignore-installed numpy==1.26.2 scikit-image==0.21.0 opencv-python==4.11.0.86 protobuf==4.25.3 pip uninstall -y open-clip-torch(forge) root@e8312d2a6db9:/workspace# pip install --no-cache-dir --ignore-installed numpy==1.26.2 scikit-image==0.21.0 opencv-python==4.11.0.86 protobuf==4.25.3 Collecting numpy==1.26.2 Downloading numpy-1.26.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (18.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 18.2/18.2 MB 80.9 kB/s eta 0:00:00 Collecting scikit-image==0.21.0 Downloading scikit_image-0.21.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (13.8 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 13.8/13.8 MB 87.2 kB/s eta 0:00:00 Collecting opencv-python==4.11.0.86 Downloading opencv_python-4.11.0.86-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (63.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 63.0/63.0 MB 957.3 kB/s eta 0:00:00 Collecting protobuf==4.25.3 Downloading protobuf-4.25.3-cp37-abi3-manylinux2014_x86_64.whl (294 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 294.6/294.6 KB 1.3 MB/s eta 0:00:00 Collecting lazy_loader>=0.2 Downloading lazy_loader-0.4-py3-none-any.whl (12 kB) Collecting imageio>=2.27 Downloading imageio-2.37.0-py3-none-any.whl (315 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 315.8/315.8 KB 1.0 MB/s eta 0:00:00 Collecting networkx>=2.8 Downloading networkx-3.4.2-py3-none-any.whl (1.7 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.7/1.7 MB 1.2 MB/s eta 0:00:00 Collecting packaging>=21 Downloading packaging-25.0-py3-none-any.whl (66 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 66.5/66.5 KB 2.3 MB/s eta 0:00:00 Collecting pillow>=9.0.1 Downloading pillow-11.3.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (6.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.6/6.6 MB 993.2 kB/s eta 0:00:00 Collecting tifffile>=2022.8.12 Downloading tifffile-2025.5.10-py3-none-any.whl (226 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 226.5/226.5 KB 819.4 kB/s eta 0:00:00 Collecting PyWavelets>=1.1.1 Downloading pywavelets-1.8.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.5/4.5 MB 711.2 kB/s eta 0:00:00 Collecting scipy>=1.8 Downloading scipy-1.15.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (37.7 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 37.7/37.7 MB 889.8 kB/s eta 0:00:00 Installing collected packages: protobuf, pillow, packaging, numpy, networkx, tifffile, scipy, PyWavelets, opencv-python, lazy_loader, imageio, scikit-image 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. open-clip-torch 2.20.0 requires protobuf<4, but you have protobuf 4.25.3 which is incompatible. gradio 3.41.2 requires pillow<11.0,>=8.0, but you have pillow 11.3.0 which is incompatible. blendmodes 2022 requires Pillow<10,>=9.0.0, but you have pillow 11.3.0 which is incompatible. Successfully installed PyWavelets-1.8.0 imageio-2.37.0 lazy_loader-0.4 networkx-3.4.2 numpy-1.26.2 opencv-python-4.12.0.88 packaging-25.0 pillow-11.3.0 protobuf-4.25.8 scikit-image-0.21.0 scipy-1.15.3 tifffile-2025.5.10(forge) root@e8312d2a6db9:/workspace# pip uninstall opencv-python WARNING: Ignoring invalid distribution -umpy (/opt/environments/python/forge/lib/python3.10/site-packages) WARNING: Ignoring invalid distribution -umpy (/opt/environments/python/forge/lib/python3.10/site-packages) Found existing installation: opencv-python 4.12.0.88 Uninstalling opencv-python-4.12.0.88: Would remove: /opt/environments/python/forge/lib/python3.10/site-packages/cv2/* /opt/environments/python/forge/lib/python3.10/site-packages/opencv_python-4.12.0.88.dist-info/* /opt/environments/python/forge/lib/python3.10/site-packages/opencv_python.libs/libQt5Core-e7f476e2.so.5.15.16 /opt/environments/python/forge/lib/python3.10/site-packages/opencv_python.libs/libQt5Gui-3e966859.so.5.15.16 /opt/environments/python/forge/lib/python3.10/site-packages/opencv_python.libs/libQt5Test-9ac3ed15.so.5.15.16 /opt/environments/python/forge/lib/python3.10/site-packages/opencv_python.libs/libQt5Widgets-cd430389.so.5.15.16 /opt/environments/python/forge/lib/python3.10/site-packages/opencv_python.libs/libQt5XcbQpa-3cfa6167.so.5.15.16 /opt/environments/python/forge/lib/python3.10/site-packages/opencv_python.libs/libX11-xcb-0e257303.so.1.0.0 /opt/environments/python/forge/lib/python3.10/site-packages/opencv_python.libs/libXau-00ec42fe.so.6.0.0 /opt/environments/python/forge/lib/python3.10/site-packages/opencv_python.libs/libaom-49d00b71.so.3.12.1 /opt/environments/python/forge/lib/python3.10/site-packages/opencv_python.libs/libavcodec-e0dd92b8.so.59.37.100 /opt/environments/python/forge/lib/python3.10/site-packages/opencv_python.libs/libavformat-d296e685.so.59.27.100 /opt/environments/python/forge/lib/python3.10/site-packages/opencv_python.libs/libavif-850e7649.so.16.3.0 /opt/environments/python/forge/lib/python3.10/site-packages/opencv_python.libs/libavutil-734d06dd.so.57.28.100 /opt/environments/python/forge/lib/python3.10/site-packages/opencv_python.libs/libcrypto-01067bc0.so.1.1 /opt/environments/python/forge/lib/python3.10/site-packages/opencv_python.libs/libgfortran-91cc3cb1.so.3.0.0 /opt/environments/python/forge/lib/python3.10/site-packages/opencv_python.libs/libopenblas-r0-f650aae0.3.3.so /opt/environments/python/forge/lib/python3.10/site-packages/opencv_python.libs/libpng16-04239421.so.16.48.0 /opt/environments/python/forge/lib/python3.10/site-packages/opencv_python.libs/libquadmath-96973f99.so.0.0.0 /opt/environments/python/forge/lib/python3.10/site-packages/opencv_python.libs/libssl-28bef1ac.so.1.1 /opt/environments/python/forge/lib/python3.10/site-packages/opencv_python.libs/libswresample-3e7db482.so.4.7.100 /opt/environments/python/forge/lib/python3.10/site-packages/opencv_python.libs/libswscale-95ddd674.so.6.7.100 /opt/environments/python/forge/lib/python3.10/site-packages/opencv_python.libs/libvpx-127417df.so.11.0.0 /opt/environments/python/forge/lib/python3.10/site-packages/opencv_python.libs/libxcb-icccm-413c9f41.so.4.0.0 /opt/environments/python/forge/lib/python3.10/site-packages/opencv_python.libs/libxcb-image-e82a276d.so.0.0.0 /opt/environments/python/forge/lib/python3.10/site-packages/opencv_python.libs/libxcb-keysyms-21015570.so.1.0.0 /opt/environments/python/forge/lib/python3.10/site-packages/opencv_python.libs/libxcb-randr-a96a5a87.so.0.1.0 /opt/environments/python/forge/lib/python3.10/site-packages/opencv_python.libs/libxcb-render-637b984a.so.0.0.0 /opt/environments/python/forge/lib/python3.10/site-packages/opencv_python.libs/libxcb-render-util-43ce00f5.so.0.0.0 /opt/environments/python/forge/lib/python3.10/site-packages/opencv_python.libs/libxcb-shape-25c2b258.so.0.0.0 /opt/environments/python/forge/lib/python3.10/site-packages/opencv_python.libs/libxcb-shm-7a199f70.so.0.0.0 /opt/environments/python/forge/lib/python3.10/site-packages/opencv_python.libs/libxcb-sync-89374f40.so.1.0.0 /opt/environments/python/forge/lib/python3.10/site-packages/opencv_python.libs/libxcb-util-4d666913.so.1.0.0 /opt/environments/python/forge/lib/python3.10/site-packages/opencv_python.libs/libxcb-xfixes-9be3ba6f.so.0.0.0 /opt/environments/python/forge/lib/python3.10/site-packages/opencv_python.libs/libxcb-xinerama-ae147f87.so.0.0.0 /opt/environments/python/forge/lib/python3.10/site-packages/opencv_python.libs/libxcb-xkb-9ba31ab3.so.1.0.0 /opt/environments/python/forge/lib/python3.10/site-packages/opencv_python.libs/libxkbcommon-71ae2972.so.0.0.0 /opt/environments/python/forge/lib/python3.10/site-packages/opencv_python.libs/libxkbcommon-x11-c65ed502.so.0.0.0 Would not remove (might be manually added): /opt/environments/python/forge/lib/python3.10/site-packages/cv2/bgsegm/__init__.pyi /opt/environments/python/forge/lib/python3.10/site-packages/cv2/bioinspired/__init__.pyi /opt/environments/python/forge/lib/python3.10/site-packages/cv2/ccm/__init__.pyi /opt/environments/python/forge/lib/python3.10/site-packages/cv2/colored_kinfu/__init__.pyi /opt/environments/python/forge/lib/python3.10/site-packages/cv2/datasets/__init__.pyi /opt/environments/python/forge/lib/python3.10/site-packages/cv2/dnn_superres/__init__.pyi /opt/environments/python/forge/lib/python3.10/site-packages/cv2/dpm/__init__.pyi /opt/environments/python/forge/lib/python3.10/site-packages/cv2/dynafu/__init__.pyi /opt/environments/python/forge/lib/python3.10/site-packages/cv2/face/__init__.pyi /opt/environments/python/forge/lib/python3.10/site-packages/cv2/ft/__init__.pyi /opt/environments/python/forge/lib/python3.10/site-packages/cv2/hfs/__init__.pyi /opt/environments/python/forge/lib/python3.10/site-packages/cv2/img_hash/__init__.pyi /opt/environments/python/forge/lib/python3.10/site-packages/cv2/intensity_transform/__init__.pyi /opt/environments/python/forge/lib/python3.10/site-packages/cv2/kinfu/__init__.pyi /opt/environments/python/forge/lib/python3.10/site-packages/cv2/kinfu/detail/__init__.pyi /opt/environments/python/forge/lib/python3.10/site-packages/cv2/large_kinfu/__init__.pyi /opt/environments/python/forge/lib/python3.10/site-packages/cv2/legacy/__init__.pyi /opt/environments/python/forge/lib/python3.10/site-packages/cv2/line_descriptor/__init__.pyi /opt/environments/python/forge/lib/python3.10/site-packages/cv2/linemod/__init__.pyi /opt/environments/python/forge/lib/python3.10/site-packages/cv2/mcc/__init__.pyi /opt/environments/python/forge/lib/python3.10/site-packages/cv2/motempl/__init__.pyi /opt/environments/python/forge/lib/python3.10/site-packages/cv2/multicalib/__init__.pyi /opt/environments/python/forge/lib/python3.10/site-packages/cv2/omnidir/__init__.pyi /opt/environments/python/forge/lib/python3.10/site-packages/cv2/optflow/__init__.pyi /opt/environments/python/forge/lib/python3.10/site-packages/cv2/phase_unwrapping/__init__.pyi /opt/environments/python/forge/lib/python3.10/site-packages/cv2/plot/__init__.pyi /opt/environments/python/forge/lib/python3.10/site-packages/cv2/ppf_match_3d/__init__.pyi /opt/environments/python/forge/lib/python3.10/site-packages/cv2/quality/__init__.pyi /opt/environments/python/forge/lib/python3.10/site-packages/cv2/rapid/__init__.pyi /opt/environments/python/forge/lib/python3.10/site-packages/cv2/reg/__init__.pyi /opt/environments/python/forge/lib/python3.10/site-packages/cv2/rgbd/__init__.pyi /opt/environments/python/forge/lib/python3.10/site-packages/cv2/saliency/__init__.pyi /opt/environments/python/forge/lib/python3.10/site-packages/cv2/signal/__init__.pyi /opt/environments/python/forge/lib/python3.10/site-packages/cv2/stereo/__init__.pyi /opt/environments/python/forge/lib/python3.10/site-packages/cv2/structured_light/__init__.pyi /opt/environments/python/forge/lib/python3.10/site-packages/cv2/text/__init__.pyi /opt/environments/python/forge/lib/python3.10/site-packages/cv2/videostab/__init__.pyi /opt/environments/python/forge/lib/python3.10/site-packages/cv2/wechat_qrcode/__init__.pyi /opt/environments/python/forge/lib/python3.10/site-packages/cv2/xfeatures2d/__init__.pyi /opt/environments/python/forge/lib/python3.10/site-packages/cv2/ximgproc/__init__.pyi /opt/environments/python/forge/lib/python3.10/site-packages/cv2/ximgproc/segmentation/__init__.pyi /opt/environments/python/forge/lib/python3.10/site-packages/cv2/xphoto/__init__.pyi Proceed (Y/n)? y ERROR: Exception: Traceback (most recent call last): File "/usr/lib/python3.10/shutil.py", line 816, in move os.rename(src, real_dst) FileNotFoundError: [Errno 2] No such file or directory: '/opt/environments/python/forge/lib/python3.10/site-packages/opencv_python-4.12.0.88.dist-info/' -> '/tmp/pip-uninstall-e3uc4e5_/opencv_python-4.12.0.88.dist-info' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/environments/python/forge/lib/python3.10/site-packages/pip/_internal/cli/base_command.py", line 165, in exc_logging_wrapper status = run_func(*args) File "/opt/environments/python/forge/lib/python3.10/site-packages/pip/_internal/commands/uninstall.py", line 97, in run uninstall_pathset = req.uninstall( File "/opt/environments/python/forge/lib/python3.10/site-packages/pip/_internal/req/req_install.py", line 638, in uninstall uninstalled_pathset.remove(auto_confirm, verbose) File "/opt/environments/python/forge/lib/python3.10/site-packages/pip/_internal/req/req_uninstall.py", line 369, in remove moved.stash(path) File "/opt/environments/python/forge/lib/python3.10/site-packages/pip/_internal/req/req_uninstall.py", line 267, in stash renames(path, new_path) File "/opt/environments/python/forge/lib/python3.10/site-packages/pip/_internal/utils/misc.py", line 305, in renames shutil.move(old, new) File "/usr/lib/python3.10/shutil.py", line 836, in move copy_function(src, real_dst) File "/usr/lib/python3.10/shutil.py", line 434, in copy2 copyfile(src, dst, follow_symlinks=follow_symlinks) File "/usr/lib/python3.10/shutil.py", line 254, in copyfile with open(src, 'rb') as fsrc: FileNotFoundError: [Errno 2] No such file or directory: '/opt/environments/python/forge/lib/python3.10/site-packages/opencv_python-4.12.0.88.dist-info/'I could keep going but it is just an endless cycle of installing one thing and finding something else has been installed without you knowing and the conflict is there again.
How can you uninstall numpy 2.2.6 and it still be in the check?
(forge) root@e8312d2a6db9:/workspace# pip uninstall numpy Found existing installation: numpy 2.2.6 Uninstalling numpy-2.2.6: Would remove: /opt/environments/python/forge/bin/f2py /opt/environments/python/forge/bin/numpy-config /opt/environments/python/forge/lib/python3.10/site-packages/numpy-2.2.6.dist-info/* /opt/environments/python/forge/lib/python3.10/site-packages/numpy.libs/libgfortran-040039e1-0352e75f.so.5.0.0 /opt/environments/python/forge/lib/python3.10/site-packages/numpy.libs/libquadmath-96973f99-934c22de.so.0.0.0 /opt/environments/python/forge/lib/python3.10/site-packages/numpy.libs/libscipy_openblas64_-56d6093b.so /opt/environments/python/forge/lib/python3.10/site-packages/numpy/* Proceed (Y/n)? y Successfully uninstalled numpy-2.2.6 (forge) root@e8312d2a6db9:/workspace# pip check mediapipe 0.10.21 has requirement numpy<2, but you have numpy 2.2.6. mediapipe 0.10.21 has requirement protobuf<5,>=4.25.3, but you have protobuf 3.20.3. gradio 3.41.2 has requirement numpy~=1.0, but you have numpy 2.2.6. blendmodes 2022 has requirement numpy<2,>=1.22.1, but you have numpy 2.2.6.