I am getting some opencv errors with when using an open-source software library that uses for which it is a dependency. I have tried some of the suggestions listed here: AttributeError: module 'cv2.cv2' has no attribute 'xfeatures2d' [Opencv 3.4.3]
What has been done so far:
sudo pip uninstall opencv-python
sudo pip uninstall opencv-python
pip install opencv-python==3.4.2.16 pip install opencv-contrib-python==3.4.2.16
pip3 install opencv-contrib-python==4.2.0.32
The latest error after calling "pip3 install opencv-contrib-python==4.2.0.32" is "OpenCV(3.4.4) ../opencv_contrib/modules/xfeatures2d/src/sift.cpp:1205: error: (-213:The function/feature is not implemented) This algorithm is patented and is excluded in this configuration; Set OPENCV_ENABLE_NONFREE CMake option and rebuild the library in function 'create'"