I got an error when to use “import cv2”.
“ModuleNotFoundError: No Module named ‘cv2’”
But I had opencv-python-4.5.5.64 successfully installed right before this error code.
Any further clue? Many thanks!
I got an error when to use “import cv2”.
“ModuleNotFoundError: No Module named ‘cv2’”
But I had opencv-python-4.5.5.64 successfully installed right before this error code.
Any further clue? Many thanks!
Slicer has its own python environment. Use slicer.util.pip_install
to install what you need. See here.