generative-models icon indicating copy to clipboard operation
generative-models copied to clipboard

version conflict numpy and cv2

Open omikron88 opened this issue 6 months ago • 1 comments

Hello, How to install and make it working? In both Win and Linux it says that numpy is compiled with one ABI version but cv2 with another. And it crashes.

How did I install it?

conda create -n generative-models python=3.10 conda activate generative-models

git clone https://github.com/Stability-AI/generative-models.git cd generative-models

pip install wheel pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118 pip install -r .\requirements\pt2.txt pip install .

python -m scripts.demo.gradio_app_sv4d

omikron88 avatar Sep 24 '25 15:09 omikron88

My method is uninstalling opencv-python-headless 4.12.0.88.

lsl0007 avatar Nov 10 '25 08:11 lsl0007