Search code examples
pythonopencvpip

Having trouble setting up gtuner computer vision


Can anybody help me set up Gtuner computer vision I done downloaded everything but it's all still confusing and I keep getting this

GCV Error: No module named 'cv2' Traceback (most recent call last): File “”, line 1, in ModuleNotFoundError: No module named ‘cv2’

Computer Vision: ERROR: Gpython process exited with error code 111

I've uninstalled and re-installed and still nothing. I have been at this for two days - if anyone can walk me through it that would be helpful. Again, it's gtuner cv and I don't have a capture card so I'm using remote play

Pip list Numpy 1.26.4 Opencv-python 4.9.0.80 Pip 24.0 Pywin 306 enter image description here

enter image description here


Solution

  • All OpenCV-Python package variants contain the base modules. Some lack GUI modules. Some additionally bring contrib modules.

    • opencv-python - base
    • opencv-contrib-python - base and contrib
    • opencv-python-headless - base, no GUI
    • opencv-contrib-python-headless - base and contrib, no GUI

    The package variants are mutually exclusive. When you install multiple of them, they usually interfere with each other and break the installation.

    You have installed both opencv-python and opencv-contrib-python. Uninstall both. Then install one of them.

    pip uninstall opencv-python opencv-contrib-python opencv-python-headless opencv-contrib-python-headless
    pip install opencv-contrib-python