mlhubber / mlhub

Machine Learning Model Repository Hub Command Line Tool.
MIT License
20 stars 12 forks source link

facedetect : version error for opencv-contrib-python #275

Closed shashank-gv closed 2 years ago

shashank-gv commented 2 years ago

Steps to recreate (Tested on ubuntu 22.04.1 LTS server):

ml install facedetect
ml configure facedetect

Full error message

*** Installing Python package opencv-contrib-python==4.0.0.21 by pip into
  /home/shashankg/.mlhub/facedetect/.python

Do you want to pip install opencv-contrib-python==4.0.0.21 [Y/n]? Y
mlhub: An error was encountered:
ERROR: Could not find a version that satisfies the requirement opencv-contrib-python==4.0.0.21 (from versions: 3.4.11.45, 3.4.13.47, 3.4.14.51, 3.4.15.55, 3.4.16.59, 3.4.17.61, 3.4.17.63, 3.4.18.65, 4.4.0.46, 4.5.1.48, 4.5.2.52, 4.5.3.56, 4.5.4.58, 4.5.4.60, 4.5.5.62, 4.5.5.64, 4.6.0.66)
ERROR: No matching distribution found for opencv-contrib-python==4.0.0.21
gjwgit commented 2 years ago

Confirmed. Remove version from the pip3 dependency resolves.

gjwgit commented 2 years ago

Updated in gjwgit/facedetect. PR to simonzhaoms/facedetect.