2020-05-13 06:23 AM
I wan to install and develop userinterface programs using, tkinter and PyQt5 frameworks. but can not install both tkinter and pyqt5 , can you help please ?
2020-05-19 05:11 AM
Hi @Ahasa.1
Searching package repositories (see article https://wiki.st.com/stm32mpu/wiki/Package_repository_for_OpenSTLinux_distribution) I found following installable packages:
...
python-pyqt5 - Python Qt5 Bindings
python3-pyqt5 - Python Qt5 Bindings
(result of "apt-cache search qt5")
python-tkinter - Python Tcl/Tk bindings
python3-tkinter - Python Tcl/Tk bindings
(result of "apt-cache search tkinker")
Are these packages what you were looking for?
Milan
2020-05-21 01:24 AM
I installed python3-pyqt5 and python3-tkinter but the problem not solved and still give following errors,
tkinter error:
import tkinter as tk
File "/usr/lib/python3.5/tkinter/__init__.py", line 35, in <module>
import _tkinter # If this fails your Python may not be configured for Tk
ImportError: No module named '_tkinter'
pyqt5 error:
from PyQt5.QtWidgets import QApplication, QWidget
ImportError: No module named 'PyQt5'