Skip to content

opencv-python-headless asking for GTK-3 #179

@josubg

Description

@josubg

Expected behaviour

Not to install Interface libraries in my server for opencv-python-headless version.

Actual behaviour

I installed the opencv-python-headless version but it appears to require GTK 3 installed in the system

Steps to reproduce

  • example code

Install all libraries dependencies except GTK:

pip3 install opencv-python-headless libwebp6
sudo  apt-get install liblapack3 libcblas3 libatlas3-base libwebp6 libtiff5 libjasper1 libilmbase12 
    libopenexr22 libgstreamer1.0-0 libavcodev57 libavformat57 libswscale4 

Try to import :

Import cv2

Error:

Import Error: libgtk-3.so.0: cannot  open shared object file  No such file or directory
  • operating system
    Raspbian Stretch Lite Minimal image based on Debian Stretch
    Version:November 2018
    Release date:2018-11-13
    Kernel version:4.14
  • architecture (e.g. x86)
    arm
  • opencv-python version
    opencv-python-headless

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