PIP opencv-python directly into docker:
pip install opencv-python
When importing cv2 again, an error will be returned:
ImportError: libgthread-2.0.so.0: cannot open shared object file: No such file or directory
>
>
>
>
>
>
>
>
pip uninstall opencv-python
To install it, use the following command:
pip install opencv-python-headless
【 reference 】
https://blog.csdn.net/Max_ZhangJF/article/details/108920050 https://github.com/Korea-Health-Datathon/KHD2020/issues/78
Read More:
- Error running docker container: starting container process caused “exec: \“python\“: executable file
- Some problems in installing wsl2 and NVIDIA docker in win10
- Solution of OpenCV library import error in Python 3
- Error: path not specified when the docker 1.7 file is uploaded to the container in CentOS
- Installing opencv and Linux Makefile:160 : recipe for target ‘all’ failed problem resolution
- Error during connect when installing docker in Windows 10
- Docker start error: failed to start docker application container engine.
- Get connection timeout retry: 1 MySQL errorcode 0, state 08s01 docker container accessing MySQL container is very slow and sometimes interrupted
- Solution of apt unable to update in the docker container of raspberry pie
- The docker copies the win10 host file into the docker container. An error is reported: copying between containers is not supported
- Anaconda installation opencv Python error solution
- Installing PyQt4 in Windows + Python 3.6
- Opencv problem: opencv error: assertion failed (! Empty()) in detectmultiscale
- View the IP address of the docker container
- [extremely simple and effective] installing docker under centos6. X
- [Solved] Docker Container Use APT error: Permission denied
- Error reporting of OpenCV and Darknet under Python 2.7
- Docker starts MySQL container and reports an error driver failed programming external connectivity on endpoint mysq
- [opencv + openvino] opencv-vino4.5.1 + opencv contrib installation
- Project files may be invalid appears when cmake compiles opencv3.1, and the debug additional dependency of the compiled opencv3.1 is at the end