-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation/import problem -- 'xfeatures2d module is not available' #112
Comments
Hi @stevenjayfrank, Best, |
Thanks for replying, Chandler! I generally use Python 3.11 but have also tried 3.10, and have installed This StackExchange post reports that |
Hi @stevenjayfrank, Best, |
Thank you, I will try that. In the meantime, I've been thinking maybe it's an Anaconda issue, so tried installing To exhaust the obvious alternatives, I installed
|
I'm new to Poetry but have given it a whirl in Linux, and created a new project called If I now run Python or Jupyter Lab from within the environment (e.g., I'm probably missing something really obvious ... |
Hi @stevenjayfrank, Best, |
Thanks, Chandler, got it working (also needed to run |
Discussed in #111
Originally posted by stevenjayfrank April 3, 2024
I've hit a dead end attempting to import Valis following installation. Importing results in an
AttributeError: module 'cv2' has no attribute 'xfeatures2d'
. This is not a new problem and the most common solution is to installopencv-contrib-python
rather thanopencv-python
. Unfortunately thexfeatures2d
seems to be unavailable in any opencv distribution compatible with current (or even recent) version of Python. I've tried installing under Windows 11 (which had even more problems) and Linux. Suggestions appreciated.The text was updated successfully, but these errors were encountered: