giovcandido/prototypical-networks

OpenCV Module

MassimilianoLuca opened this issue · 4 comments

Hello! I tried to run your code and I got the following error:

ModuleNotFoundError: No module named 'cv2'

This can be solved with the following commands:

pip install scikit-build
pip install opencv-python

Maybe such packages can be added to the dependencies. Thanks for your work!

Hi! I'm glad to know you found my code.

There's a script that installs the requirements for you. It's the install_deps.sh.

This script already has the opencv-python package.

Did you need to install the scikit-build package to run the code?

If so, it should be added to the requirements as well.

Thank you for your feedback. It's good to know you liked my work.

Correct, sorry. It was not clear from the issue. I used the script to install the dependencies but I also had to install scikit-build. Also, it should be installed before opencv: https://stackoverflow.com/questions/63448467/installing-opencv-fails-because-it-cannot-find-skbuild

Alright! I added scikit-build to the requirements.

Was it the only additional package you needed to install?

In case there are more packages that need to be added to the requirements, reopen this issue.

I'm closing it for now.

Once again, thanks for the help! ;)