pkg_resources.DistributionNotFound: The 'opencv-python' distribution was not found and is required by medcam
Which is completely legit because conda doesn't publish opencv-python (they publish opencv directly, which works with the cv2 namespace in python).
I propose to put opencv-python as an optional installation target that gets triggered when installing through pip and removing it as a dependency in the install_requires of setup.py. I can put in a PR that highlights a prototype for this.
Hey,
I am trying to install
medcam
as a conda dependency for GaNDLF but I am getting the following error:Which is completely legit because conda doesn't publish
opencv-python
(they publish opencv directly, which works with thecv2
namespace in python).I propose to put
opencv-python
as an optional installation target that gets triggered when installing through pip and removing it as a dependency in theinstall_requires
ofsetup.py
. I can put in a PR that highlights a prototype for this.Cheers, Sarthak