Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

opencv-python doesn't have GUI ? #1138

Open
@areche

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /