This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SK-TDA4VM:May I ask what instructions should be entered for installing packages and updates for this system?

Part Number: SK-TDA4VM

Hello,

I am running a python program on SK-TDA4VM, and an error occurs when I run opencv-python:

Traceback (most recent call last):
File "day.py", line 1, in <module>
import cv2
File "/usr/lib/python3.8/site-packages/cv2/__init__.py", line 180, in <module>
bootstrap()
File "/usr/lib/python3.8/site-packages/cv2/__init__.py", line 152, in bootstrap
native_module = importlib.import_module("cv2")
File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ImportError: libGL.so.1: cannot open shared object file: No such file or directory

After searching for the information, I found that it is necessary to install the libgl1-mesa-glx package, but the information on the Internet is all using the apt install command. What command is applicable for installation on this system

thanks

  • Hello,

    I ran opkg install libgl1-mesa-glx on SK-TDA4VM, but an error occurred. The information is as follows

    Collected errors:

    * opkg_prepare_url_for_install: Couldn't find anything to satisfy 'libgl1-mesa-gix'.

    thanks

  • Hello,
    I use python scripts to run videos, mainly python-opencv, but the video screen cannot be displayed.
    I tried to run opkg install libgl1-mesa-glx, but an error occurred.

    Collected errors:
    * opkg_prepare_url_for_install: Couldn't find anything to satisfy 'libgl1-mesa-glx'.
     
    Is opkg unable to install libgl1-mesa-gix, is there any other way?

    thanks