[DOCKER] Cannot import cv2 (libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory)

apt-get update

After

apt-get install libgtk2.0

I solved it with.

The environment is ubuntu18 (Docker).

Recommended Posts

Cannot import cv2 (libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory)
Import Error: libffi.so.6: cannot open shared object file: No such file or directory
No such file or directory:'chromedriver': Resolve'chromedriver'
pip install --upgrade pip will result in No such file or directory
-bash: ./ {file name} .sh: /usr/bin/bash: bad interpreter: No such file or directory
Addressed "Python .h: No such file or directory" when installing uWSGI with Python 3.8
What to do when [Errno 2] No such file or directory appears in Python
What to do if ENOENT: no such file or directory appears during npm install
When I try to run the pip command after updating pip, I get "No such file or directory"
[Note] How to deal with unicode error and No such file or directory (output table to excel file with pandas)