Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

opencv-python doesn't have GUI ?

Open
#1,138 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
python
Domain
build-system

Research direction

The report names the opencv-python wheel versions 4.5.5.64 through 4.8.0.74 and the cv2.getBuildInformation() command; start by reproducing those installations and comparing the GUI sections. The payload names no repository files or tests, so done would require identifying why GUI support changed and documenting or correcting the expected wheel behavior.

Written by the indexing model from the issue text.

Description

Hi! I am trying to install the GUI version of opencv-python as opposed to the non-GUI version called opencv-python-headless. However, no matter which version of opencv-python I install, the GUI is not always present. I had to go back to version 4.5.5.64 to find a wheel that has some sort of GUI.

# pip install opencv-python==4.5.5.64; python -c "import cv2; print(cv2.getBuildInformation());"
Collecting opencv-python==4.5.5.64
  Downloading opencv_python-4.5.5.64-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (18 kB)
Requirement already satisfied: numpy>=1.21.2 in /usr/local/lib/python3.12/dist-packages (from opencv-python==4.5.5.64) (1.26.4)
Downloading opencv_python-4.5.5.64-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (60.5 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 60.5/60.5 MB 52.6 MB/s eta 0:00:00
Installing collected packages: opencv-python
Successfully installed opencv-python-4.5.5.64
.
.
.
  GUI:                           QT5
    QT:                          YES (ver 5.15.0 )
      QT OpenGL support:         NO
    GTK+:                        NO
    VTK support:                 NO
.
.
.
# pip install opencv-python==4.6.0.66; python -c "import cv2; print(cv2.getBuildInformation());"
Collecting opencv-python==4.6.0.66
  Downloading opencv_python-4.6.0.66-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (18 kB)
Requirement already satisfied: numpy>=1.21.2 in /usr/local/lib/python3.12/dist-packages (from opencv-python==4.6.0.66) (1.26.4)
Downloading opencv_python-4.6.0.66-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (60.9 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 60.9/60.9 MB 73.4 MB/s eta 0:00:00
Installing collected packages: opencv-python
Successfully installed opencv-python-4.6.0.66
.
.
.
  GUI:                           NONE
    GTK+:                        NO
    VTK support:                 NO
.
.
.
# pip install opencv-python==4.7.0.72; python -c "import cv2; print(cv2.getBuildInformation());"
Collecting opencv-python==4.7.0.72
  Using cached opencv_python-4.7.0.72-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (18 kB)
Requirement already satisfied: numpy>=1.21.2 in /usr/local/lib/python3.12/dist-packages (from opencv-python==4.7.0.72) (1.26.4)
Using cached opencv_python-4.7.0.72-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (61.8 MB)
Installing collected packages: opencv-python
Successfully installed opencv-python-4.7.0.72
.
.
.
  GUI:                           NONE
    GTK+:                        NO
    VTK support:                 NO
.
.
.
# pip install opencv-python==4.8.0.74; python -c "import cv2; print(cv2.getBuildInformation());"
Collecting opencv-python==4.8.0.74
  Downloading opencv_python-4.8.0.74-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (19 kB)
Requirement already satisfied: numpy>=1.21.2 in /usr/local/lib/python3.12/dist-packages (from opencv-python==4.8.0.74) (1.26.4)
Downloading opencv_python-4.8.0.74-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (61.7 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.7/61.7 MB 64.3 MB/s eta 0:00:00
Installing collected packages: opencv-python
Successfully installed opencv-python-4.8.0.74
.
.
.
  GUI:                           NONE
    GTK+:                        NO
    VTK support:                 NO
.
.
.

Same for all of the versions after this one.

Am I doing something wrong?

Dominant language
Python
Stars
5.4k
Forks
1k
Avg merge
22h 17m
Merged PRs (30d)
3

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from opencv/opencv-python

All issues in opencv/opencv-python

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.