AttributeError: 'module' object has no attribute 'DescriptorExtractor_create'
Opened this issue · 3 comments
Can you help me with this, please?
try installing opencv-contrib inside a virtualenv
I have installed with "pip install opencv-contrib-python", but it still said:
AttributeError: module 'cv2.cv2' has no attribute 'DescriptorExtractor_create'
I have installed with "pip install opencv-contrib-python", but it still said:
AttributeError: module 'cv2.cv2' has no attribute 'DescriptorExtractor_create'
I'm not sure why you got that. I just tried installing in a miniconda environment of py38 and it worked fine. It may be that you have conflicting versions with the regular opencv-python
and opencv-contrib-python
? I'm not sure. You would need to file an issue / ask with opencv-python owner. First I recommend trying a clean environment. Miniconda is great for scientific computing with python and other systems.