SAM-Adapter-PyTorch icon indicating copy to clipboard operation
SAM-Adapter-PyTorch copied to clipboard

Dependency issue

Open AwayFromKeyboardwarrior opened this issue 11 months ago • 0 comments

ERROR: Cannot install -r requirements.txt (line 1), -r requirements.txt (line 14), -r requirements.txt (line 15), -r requirements.txt (line 4), -r requirements.txt (line 6), -r requirements.txt (line 7) and numpy~=1.20.3 because these package versions have conflicting dependencies.

The conflict is caused by: The user requested numpy~=1.20.3 imageio 2.9.0 depends on numpy opencv-python 4.7.0.72 depends on numpy>=1.17.3; python_version >= "3.8" opencv-python 4.7.0.72 depends on numpy>=1.17.0; python_version >= "3.7" scikit-learn 1.2.2 depends on numpy>=1.17.3 scipy 1.10.1 depends on numpy<1.27.0 and >=1.19.5 tensorboardx 2.6 depends on numpy onnxruntime 1.14.1 depends on numpy>=1.21.6

After removing onnxruntime from requirements.txt, it went through.

AwayFromKeyboardwarrior avatar Mar 26 '24 22:03 AwayFromKeyboardwarrior