I understand that the SIFT module is not available in newer versions of open CV. To get around this I see a common workaround is to use an earlier version by using the command: pip3 install opencv-python==3.4.2.16
. However when I do this I get an error ERROR: Could not find a version that satisfies the requirement opencv-python==3.4.2.16 (from versions: 3.4.8.29, 3.4.9.31, 3.4.9.33, 3.4.10.35, 3.4.10.37, 3.4.11.39, 3.4.11.41, 3.4.11.43, 3.4.11.45, 3.4.13.47, 4.1.2.30, 4.2.0.32, 4.2.0.34, 4.3.0.36, 4.3.0.38, 4.4.0.40, 4.4.0.42, 4.4.0.44, 4.4.0.46, 4.5.1.48) ERROR: No matching distribution found for opencv-python==3.4.2.16
So far I've tried installing different versions of python but haven't been successful. I'm working in Ubuntu 20.04
question from:
https://stackoverflow.com/questions/65893823/trying-to-use-sift-in-opencv-leads-to-problems-with-dependencies 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…