Questions tagged [pyqt5]
41 questions
14
votes
8 answers
ImportError: No module named 'PyQt5.QtWebEngineWidgets'
I try to run a python script using PyQt5 QtWebEngineWidgets but it throws errors:
from PyQt5.QtWebEngineWidgets import (
ImportError: No module named 'PyQt5.QtWebEngineWidgets'
I think there is a package missing but which one?…
Michael
- 361
- 1
- 4
- 15
8
votes
1 answer
How the heck can I install Qt5 on Ubuntu 16.04 LTS?
I have loads of programs that require Qt4 and I need to install programs that require Qt5. When I try to install Qt5 things start off dodgy and then proceed to insanity. I request friendly guidance. It's probably easiest for you to look at the…
BlandCorporation
- 1,210
- 3
- 21
- 33
6
votes
1 answer
Error: Make sure you have a working sip on your PATH or use the --sip argument to explicitly specify a working sip
I want to install PyQt5 as mentioned on the official documentation.
Here is the ouput of the command they asked to run:
begueradj@begueradj-hacker:~/Bureau/PyQt-gpl-5.4.1# python configure.py
Querying qmake about your Qt installation...
Determining…
user284234
5
votes
2 answers
Error: PyQt5 requires Qt v5.0 or later
I want to install PyQt5 on Ubuntu 14.04.2. Once downloaded and uncompressed, I run python configure.py as it is mentioned on the previous link. However, it asks me to install QT 5 or later. Which thing I did.
When I come back to run the command…
user284234
5
votes
2 answers
How to get PyQt5 for Python2 on Ubuntu 20.04
I have a critical PyQt5 application which is still in the migration to Python3 phases.
K/Ubuntu 20.04 has removed the required packaging to install PyQt5 for Python 2.7. I understand the importance of these apps to migrate to Py3, but I'm the user…
kurios
- 81
- 1
- 4
4
votes
1 answer
Python 3 cannot import third party packages
I have Python version 3.5.2 and I have pip3, so I did
sudo pip3 install pyqt5
That got installed in /usr/local/lib/python3.5/dist-packages
However when I enter my python 3 interpreter and type
import PyQt5
it gives me an error that it can't find…
Shadowfax
- 201
- 2
- 5
4
votes
3 answers
Shared library not found for PyQt5: libxcb-xinerama.so.0 => not found
I am setting up a python3 virtual environment for my development, so I am staying away from the package manager apt-install
$ python3 -m venv . # create my environment in my working directory
I then activated the venv and installed pyqt5
$ source…
Asicc
- 41
- 1
- 1
- 2
4
votes
3 answers
How to install LDOCE5 Viewer on Ubuntu
I have used LDOCE5 Viewer for a few years now. It is a great software (i.e., viewer) for using Longman Dictionary of Contemporary English. On Ubuntu 14.04 and 16.04 I could install this software by using the following commands:
sudo apt-get install…
rasul
- 395
- 1
- 2
- 14
3
votes
2 answers
Best way to install PyQt5 for Python 2.7 on Ubuntu 14.04
I am attempting to install PyQt5 on my Ubuntu box. I have been able to install the packages for Python 3, however,I have code that depends on pygraphviz which has a hard dependency on Python 2.7.
I was looking through the repos and I see that…
Joseph
- 51
- 1
- 1
- 5
3
votes
1 answer
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found. in ubuntu 20.04
How should I solve this problem in Ubuntu 20.04?
Invalid MIT-MAGIC-COOKIE-1 keyqt.qpa.xcb: could not connect to display :0
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start…
Mona Jalal
- 4,299
- 20
- 64
- 96
2
votes
1 answer
PyQt5: NameError: 'QtWidget' is not defined
Moving Flask app from local environment to Ubuntu 14.04. Getting 'NameError: 'QtWidgets' is not defined"
Have done the following:
sudo apt-get install python3-pyqt5
verified this with following command:
apt-cache policy python3-pyqt5
…
psanc
- 21
- 1
- 1
- 4
2
votes
1 answer
Python3 + ipython + pylab on Ubuntu 14.04
I really want to switch to Python 3, but Ubuntu 14.04 makes it difficult to do so when using the IPython+pylab framework.
My settings: I have installed most of the important packages using pip rather than aptitude. Thes packages include numpy…
Bach
- 721
- 3
- 10
- 31
2
votes
2 answers
Can't find what package to install to get a proper Qtmultmedia gstreamer backend
In a new shiny ubuntu 18.04, I am trying to use a python3/pyqt5 script that use QtMultimedia.
It was working fine in 17.10. And now even after installing a bunch of package, I still can't get it to work. I have the following error when a…
solsTiCe
- 9,071
- 3
- 36
- 64
1
vote
1 answer
PyQt5 mysql driver not found
Under Ubuntu 17.04 I develop a Python 3 application using PyQt5 (which uses Qt5 5.8.0) and mysql (5.7.18). All has been well recently until today, I now get upon launching:
QSqlDatabase: QMYSQL driver not loaded
QSqlDatabase: available drivers:…
JonBrave
- 619
- 8
- 25
1
vote
1 answer