Open hyamanieu opened 6 years ago
I confirm this problem is also present with the Linux packages.
Thanks. Will look into it ASAP. Luckily I'm working on qt at present!
I'm also confirm in ubuntu's anaconda:
pyqt 5.9.2 py36h22d08a2_1 anaconda
No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 16.04.5 LTS Release: 16.04 Codename: xenial
@hyamanieu @mingwandroid any solution for this no ? , as i am facing this problem also
pyqt 5.9.2 py36h6538335_2 python 3.6.8 h9f7ef89_7 qt 5.9.7 vc14h73c81de_0
@sahasrara62 search for "To have a working PyQt, you can revert to the previous build as follows:" in my original post. This is the solution I had. As for versioning, I now have:
pyqt 5.9.2 py36h6538335_2
python 3.6.5 h0c2934d_0
qt 5.9.6 vc14h1e9a669_2
and the issue is still there (I am not developping with QtMultimedia now, I am just being careful with this error on production side).
@hyamanieu thanks for suggestion, i think it's better for me to stick with the 5.6 version , as it is stable and running in perfect condition).
Any solution now without downgrading?
Thanks. Will look into it ASAP. Luckily I'm working on qt at present!
Hello,
it has been a year and it is still the same build version. Version 5.13 exists on pip. Is there a plan to update in conda an non buggy version?
Thank you.
1 year and 3 months passed, problem still here (64 bit conda 4.7.12 py36_0):
pyqt 5.9.2 py37h6538335_2 defaults
One thing I found is that actually 32 bit version of conda (same 4.7.12 py36_0) installs different version of PyQt:
pyqt 5.9.2 py36h6538335_0 defaults
and in the 32 bit version it is possible to import QtMultimedia. Using 32 bit version or downgrading is obviously not a solution.. I'm only using default conda package channel and never use pip-based packages. All conda packages upgraded to the most recent versions.
Here is the list of files absent in ... site-packages/PyQt5/ (64-bit version conda) but present in the 32-bit version:
PyQt5/_QOpenGLFunctions_2_0.pyd PyQt5/_QOpenGLFunctions_2_1.pyd PyQt5/_QOpenGLFunctions_4_1_Core.pyd PyQt5/QtMultimedia.pyd PyQt5/QtMultimedia.pyi PyQt5/QtWinExtras.pyd PyQt5/QtWinExtras.pyi
Ubuntu 19.04, python 3.8.1
Installed conda install pyqt
and got
ModuleNotFoundError: No module named 'PyQt5.QtMultimedia'
Downgraded with conda install pyqt==5.9.2
now getting
File "video2.py", line 4, in
from PyQt5.QtCore import QDir, Qt, QUrl RuntimeError: the sip module implements API v12.0 to v12.4 but the PyQt5.QtCore module requires API v12.5
I can confirm that this issue is still present. Of course downgrading to 5.6.0 works as others have found, but making everybody who want to use my code downgrade is more annoying.
Still having this problem trying to use someone's code on windows 10 w/ anaconda 3 and python 3.7.
One more year passed, the issue is still present. Python is updated to 3.8.5, pyqt Anaconda package updated to 5.9.2 py38ha925a31_4
This issue is still present today.
Issue still persists as of today.
any updates?
still the same 👎
Any insights here? Versioning in my current application is becoming a nightmare due to this issue. Would love to help if there's anything useful I can do.
I'm seeing the same issue with pypi's pyqt5 ... libdeclarative_multimedia.so is linked against libQt5MultimediaQuick.so which isn't bundled ..
On a debian system this library is provided by the libqt5multimediaquick5 package
Still a present issue
I am having an issue importing the PyQt5 multimedia module on a Windows 10 machine. When I attempt to import the module, I get an ImportError saying, "cannot import name 'QTextToSpeech' from 'PyQt5.QtMultimedia". This is a current issue as of December 16, 2022.
its still there ( cannot import name 'QMimeType' from 'PyQt5.QtMultimedia)
let me join this sad party ...attempt to rebuild a software I relay for work .. QGIS .. no longer possible :(
Found SIP version: 6.7.8
Found PyQt5 version: 5.15.7
Found QScintilla2 PyQt module: 2.13.4
CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake:28 (find_package):
Could not find a package configuration file provided by "Qt5Multimedia"
with any of the following names:
Qt5MultimediaConfig.cmake
qt5multimedia-config.cmake
Add the installation prefix of "Qt5Multimedia" to CMAKE_PREFIX_PATH or set
"Qt5Multimedia_DIR" to a directory containing one of the above files. If
"Qt5Multimedia" provides a separate development package or SDK, be sure it
has been installed.
Same issue for me on Pop!_OS 22.04 LTS -- sorry for being late to the party. @epifanio we're also in #qgis:osgeo.org for some real-time mutual help
Actual Behavior
Running on Windows 10 with Anaconda3. After updating pyqt from version 5.9.2 build py36ha878b3d_0 to version 5.9.2 build py37h6538335_2, some modules from pyqt cannot be imported any more. need to "downgrade" to previous build to have a working pyqt.
Expected Behavior
With any build of version 5.9.2 we should be able to import all modules.
Steps to Reproduce
Then
To have a working PyQt, you can revert to the previous build as follows:
Anaconda or Miniconda version:
Anaconda 3
Operating System:
Windows 10
conda info
conda list --show-channel-urls