-
Notifications
You must be signed in to change notification settings - Fork 151
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
OpenCV Install conflict between Conda .yml and setup.py #146
Comments
I think this is mainly a fallout of the history that this code started as a loose group of scripts intended to be a tutorial, but has morphed over time with more usage as a library and a lot more higher level functionality (like imageset/batch processing). There may need to be a higher level overhaul that splits what's here into two separate repositories, or at least reorganizes things a little more in line with the current use cases. One option would be to split the notebooks and tutorials into another repository. Alternatively, we could move the notebooks into a However, one major pain point is that MicaSense support gets a lot of questions (even thought it's stated they don't support this code) and does work to help as much as possible, so the easier to install the better. The reason we went with |
This issue is somewhat obscure, but definitely a difficult case for most users. It looks like it can be pinned as part of a general refactor. I'm grateful for this library - happy to incrementally commit documentation and additions I've found useful. e.g. #148 Thank you as always for the thorough response. Edit: Can confirm it appears that OpenCV can be safely deleted from |
micasense
library fails with a QT plugin error if you installmicasense
into a conda environment that requiresopencv
, and attempt to call.imshow()
or other plotting functions.micasense
conda env hasopencv
as a dependency, while thesetup.py
installer usesopencv-python
.Cause:
opencv-python
install instructions states:Since this is a namespace issue, it also implies that installing
opencv
alongsideopencv-python
will cause issues. This is also complicated by the fact thatopencv
is a conda install, andopencv-python
is apip
install and the two do not respect each other's actions. This is pernicious, since the QT plugin error messages don't hit that this is the issue.Is there a reason for using both
opencv
andopencv-python
in their respective places?The text was updated successfully, but these errors were encountered: