Install PyQt5, QtSql and Qt5 designer for Python3 on Ubuntu

Install PyQt5, QtSql and Qt5 designer for Python3 on Ubuntu

Video is ready, Click Here to View ×


Install PyQt5, QtSql and Qt5 designer for Python3 on Ubuntu
Sorry, I meant “I’m gonna open the terminal” not interpreter.

sudo apt-get install python3-pyqt5
sudo apt-get install python3-pyqt5.qtsql
sudo apt-get install qttools5-dev-tools

**** Desktop Launcher***
[Desktop Entry]
Name=Qt5…

admin

23 Comments

Ubuntu 16.04
if pyqt5 is installed: if not – – > "sudo apt-get install python3-pip y && pip3 install pyqt5" –> then
sudo apt-get install qttools5-dev-tools
sudo cp /usr/lib/x86_64-linux-gnu/qt5/bin/designer /usr/bin/designer5

now run designer by – – > designer5
enjoy.

Doesn't work for me. After installing the python3-pyqt5 package, I tried:

Python 3.5.2+ (default, Sep 22 2016, 12:18:14)
[GCC 6.2.0 20160927] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import PyQT5
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named 'PyQT5'
>>>

i copy all the text you provided and give it the address and icon name and copy it to specified location, but i don't know how to run it afterward…..
and if i run it using the terminal with the command "/usr/lib/x86_64-linux-gnu/qt5/bin/designer", i get the program with an empty icon( my icon doesn't show) and then if i try to lock it to the launcher, it doesn't run the next times…

any suggestion on how to fix it???
what size should the icon be?

Leave a Reply

Your email address will not be published. Required fields are marked *