Answer the question
In order to leave comments, you need to log in
How to install the necessary Qt5 libraries into the Python virtual environment?
Hello! When creating a pyqt5 project, I ran into a problem that the application does not work on another linux distribution until Qt libraries appear in the system.
I tried to solve this issue with virtualenv. In the project folder I created a virtual environment, and through it I already installed PyQt5. This solved the transfer issue. But I don't like that the app is 200MB heavier.
The entire framework was installed in the virtual environment, with libraries that I do not need.
Please tell me how to install only the necessary libraries into the virtual environment, such imported modules as QtGui, QtCore, QtSql, QtNetwork and nothing more. I would like to understand how it works.
On the desktop I use the latest version of Kubuntu, Python3.8 and PyQt5.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question