When I am running my python
program I am getting following error in my terminal.
Traceback (most recent call last):
File "./encryption.py", line 6, in <module>
from PySide6 import QtCore, QtWidgets, QtGui
ImportError: libOpenGL.so.0: cannot open shared object file: No such file or directory
How to solve it? The import statements in my program are
#!/usr/bin/env python3
import sys
import random
import re
import pyAesCrypt
from PySide6 import QtCore, QtWidgets, QtGui
run the following command, to install libopengl0
library it required to run the code.
sudo apt install libopengl0 -y
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments