ContinuumIO / anaconda-issues

Anaconda issue tracking
648 stars 223 forks source link

Cannot import QtMultimedia with latest pyqt build (v 5.9.2) #10250

Open hyamanieu opened 6 years ago

hyamanieu commented 6 years ago

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

(base) C:\[...]> conda update pyqt
Solving environment: done

## Package Plan ##

  environment location: C:\Users\hy.amanieu\AppData\Local\Continuum\anaconda3

  added / updated specs:
    - pyqt
    - qt

The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    certifi-2018.10.15         |           py36_0         138 KB
    pyqt-5.9.2                 |   py36h6538335_2         4.2 MB
    ------------------------------------------------------------
                                           Total:         4.3 MB

The following packages will be UPDATED:

    certifi: 2018.8.24-py36_1     --> 2018.10.15-py36_0
    pyqt:    5.9.2-py36ha878b3d_0 --> 5.9.2-py36h6538335_2

Proceed ([y]/n)? y

Then

(base) C:\[...]>python
Python 3.6.5 |Anaconda custom (64-bit)| (default, Mar 29 2018, 13:32:41) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from PyQt5 import QtMultimedia
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: cannot import name 'QtMultimedia'

To have a working PyQt, you can revert to the previous build as follows:

(base) C:\[...]>conda install pyqt=5.9.2=py36ha878b3d_0
Solving environment: done

## Package Plan ##

  environment location: C:\Users\hy.amanieu\AppData\Local\Continuum\anaconda3

  added / updated specs:
    - pyqt==5.9.2=py36ha878b3d_0

The following packages will be DOWNGRADED:

    pyqt: 5.9.2-py36h6538335_2 --> 5.9.2-py36ha878b3d_0

Proceed ([y]/n)? y

Preparing transaction: done
Verifying transaction: done
Executing transaction: done
(base) C:\[...]>python
>>> from PyQt5 import QtMultimedia
>>> print(QtMultimedia)
<module 'PyQt5.QtMultimedia' from 'C:\\Users\\hy.amanieu\\AppData\\Local\\Continuum\\anaconda3\\lib\\site-packages\\PyQt5\\QtMultimedia.pyd'>
Anaconda or Miniconda version:

Anaconda 3

Operating System:

Windows 10

conda info
     active environment : base
    active env location : C:\Users\hy.amanieu\AppData\Local\Continuum\anaconda3
            shell level : 1
       user config file : C:\Users\hy.amanieu\.condarc
 populated config files :
          conda version : 4.5.11
    conda-build version : 3.8.0
         python version : 3.6.5.final.0
       base environment : C:\Users\hy.amanieu\AppData\Local\Continuum\anaconda3  (writable)
           channel URLs : https://repo.anaconda.com/pkgs/main/win-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/free/win-64
                          https://repo.anaconda.com/pkgs/free/noarch
                          https://repo.anaconda.com/pkgs/r/win-64
                          https://repo.anaconda.com/pkgs/r/noarch
                          https://repo.anaconda.com/pkgs/pro/win-64
                          https://repo.anaconda.com/pkgs/pro/noarch
                          https://repo.anaconda.com/pkgs/msys2/win-64
                          https://repo.anaconda.com/pkgs/msys2/noarch
          package cache : C:\Users\hy.amanieu\AppData\Local\Continuum\anaconda3\pkgs
                          C:\Users\hy.amanieu\AppData\Local\conda\conda\pkgs
       envs directories : C:\Users\hy.amanieu\AppData\Local\Continuum\anaconda3\envs
                          C:\Users\hy.amanieu\AppData\Local\conda\conda\envs
                          C:\Users\hy.amanieu\.conda\envs
               platform : win-64
             user-agent : conda/4.5.11 requests/2.18.4 CPython/3.6.5 Windows/10 Windows/10.0.17134
          administrator : False
             netrc file : None
           offline mode : False
conda list --show-channel-urls
# packages in environment at C:\Users\hy.amanieu\AppData\Local\Continuum\anaconda3:
#
# Name                    Version                   Build  Channel
_ipyw_jlab_nb_ext_conf    0.1.0            py36he6757f0_0    defaults
alabaster                 0.7.10           py36hcd07829_0    defaults
anaconda                  custom           py36h363777c_0    defaults
anaconda-client           1.6.14                   py36_0    defaults
anaconda-navigator        1.8.2                    py36_0    defaults
anaconda-project          0.8.2            py36hfad2e28_0    defaults
asn1crypto                0.24.0                   py36_0    defaults
astroid                   1.6.3                    py36_0    defaults
astropy                   3.0.1            py36h452e1ab_1    defaults
attrs                     17.4.0                   py36_0    defaults
babel                     2.5.3                    py36_0    defaults
backcall                  0.1.0                    py36_0    defaults
backports                 1.0              py36h81696a8_1    defaults
backports.shutil_get_terminal_size 1.0.0            py36h79ab834_2    defaults
backports.weakref         1.0.post1        py36hf2695fa_0    defaults
beautifulsoup4            4.6.0            py36hd4cc5e8_1    defaults
bitarray                  0.8.1            py36hfa6e2cd_1    defaults
bkcharts                  0.2              py36h7e685f7_0    defaults
blas                      1.0                         mkl    defaults
blaze                     0.11.3           py36h8a29ca5_0    defaults
bleach                    2.1.3                    py36_0    defaults
bokeh                     0.13.0                   py36_0    defaults
boto                      2.48.0           py36h1a776d2_1    defaults
bottleneck                1.2.1            py36hd119dfa_0    defaults
bzip2                     1.0.6                hfa6e2cd_5    defaults
ca-certificates           2018.03.07                    0    defaults
cachecontrol              0.12.4                   py36_0    defaults
certifi                   2018.10.15               py36_0    defaults
cffi                      1.11.5           py36h945400d_0    defaults
chardet                   3.0.4            py36h420ce6e_1    defaults
click                     6.7              py36hec8c647_0    defaults
cloudpickle               0.5.2                    py36_1    defaults
clyent                    1.2.2            py36hb10d595_1    defaults
colorama                  0.3.9            py36h029ae33_0    defaults
comtypes                  1.1.4                    py36_0    defaults
conda                     4.5.11                   py36_0    defaults
conda-build               3.8.0                    py36_0    defaults
conda-env                 2.6.0                h36134e3_1    defaults
conda-verify              2.0.0            py36h065de53_0    defaults
console_shortcut          0.1.1                h6bb2dd7_3    defaults
contextlib2               0.5.5            py36he5d52c0_0    defaults
cryptography              2.3              py36h74b6da3_0    defaults
cryptography-vectors      2.3                      py36_0    defaults
curl                      7.59.0               h7602738_0    defaults
cx_oracle                 6.4.1            py36h2fa13f4_0    defaults
cycler                    0.10.0           py36h009560c_0    defaults
cython                    0.28.2           py36hfa6e2cd_0    defaults
cytoolz                   0.9.0.1          py36hfa6e2cd_0    defaults
dask                      0.17.2                   py36_0    defaults
dask-core                 0.17.2                   py36_0    defaults
datashape                 0.5.4            py36h5770b85_0    defaults
decorator                 4.2.1                    py36_0    defaults
distlib                   0.2.6                    py36_0    defaults
distributed               1.21.6                   py36_0    defaults
docutils                  0.14             py36h6012d8f_0    defaults
entrypoints               0.2.3            py36hfd66bb0_2    defaults
et_xmlfile                1.0.1            py36h3d2d736_0    defaults
fastcache                 1.0.2            py36hfa6e2cd_2    defaults
filelock                  3.0.4                    py36_0    defaults
flask                     0.12.2           py36h98b5e8f_0    defaults
flask-cors                3.0.3            py36h8a3855d_0    defaults
flexx                     0.4.1                    py36_0    conda-forge
freetype                  2.8                  h51f8f2c_1    defaults
get_terminal_size         1.0.0                h38e98db_0    defaults
gevent                    1.2.2            py36h342a76c_0    defaults
glob2                     0.6              py36hdf76b57_0    defaults
greenlet                  0.4.13           py36hfa6e2cd_0    defaults
h5py                      2.7.1            py36he54a1c3_0    defaults
hdf5                      1.10.1               h98b8871_1    defaults
heapdict                  1.0.0                    py36_2    defaults
html5lib                  1.0.1            py36h047fa9f_0    defaults
icc_rt                    2017.0.4             h97af966_0    defaults
icu                       58.2                 ha66f8fd_1    defaults
idna                      2.6              py36h148d497_1    defaults
imageio                   2.3.0                    py36_0    defaults
imagesize                 1.0.0                    py36_0    defaults
intel-openmp              2018.0.0                      8    defaults
ipykernel                 4.8.2                    py36_0    defaults
ipython                   6.3.1                    py36_0    defaults
ipython_genutils          0.2.0            py36h3c5d0ee_0    defaults
ipywidgets                7.2.0                    py36_0    defaults
isort                     4.3.4                    py36_0    defaults
itsdangerous              0.24             py36hb6c5a24_1    defaults
jdcal                     1.3              py36h64a5255_0    defaults
jedi                      0.11.1                   py36_1    defaults
jinja2                    2.10             py36h292fed1_0    defaults
jpeg                      9b                   hb83a4c4_2    defaults
jsonschema                2.6.0            py36h7636477_0    defaults
jupyter                   1.0.0                    py36_4    defaults
jupyter_client            5.2.3                    py36_0    defaults
jupyter_console           5.2.0            py36h6d89b47_1    defaults
jupyter_core              4.4.0            py36h56e9d50_0    defaults
jupyterlab                0.31.12                  py36_0    defaults
jupyterlab_launcher       0.10.5                   py36_0    defaults
keyring                   13.0.0                   py36_0    defaults
kiwisolver                1.0.1            py36h12c3424_0    defaults
krb5                      1.16.1               h038dc86_6    defaults
lazy-object-proxy         1.3.1            py36hd1c21d2_0    defaults
libcurl                   7.59.0               hc4dcbb0_0    defaults
libiconv                  1.15                 h1df5818_7    defaults
libpng                    1.6.34               h79bbb47_0    defaults
libprotobuf               3.5.2                he0781b1_0    defaults
libssh2                   1.8.0                hd619d38_4    defaults
libtiff                   4.0.9                hb8ad9f9_1    defaults
libxml2                   2.9.8                hadb2253_1    defaults
libxslt                   1.1.32               hf6f1972_0    defaults
llvmlite                  0.22.0           py36ha794a7c_0    defaults
locket                    0.2.0            py36hfed976d_1    defaults
lockfile                  0.12.2           py36h0468280_0    defaults
lxml                      4.2.1                    py36_0    conda-forge
lzo                       2.10                 h6df0209_2    defaults
m2w64-gcc-libgfortran     5.3.0                         6    defaults
m2w64-gcc-libs            5.3.0                         7    defaults
m2w64-gcc-libs-core       5.3.0                         7    defaults
m2w64-gmp                 6.1.0                         2    defaults
m2w64-libwinpthread-git   5.0.0.4634.697f757               2    defaults
markdown                  2.6.11                   py36_0    defaults
markupsafe                1.0              py36h0e26971_1    defaults
matplotlib                2.2.2            py36h153e9ff_1    defaults
mccabe                    0.6.1            py36hb41005a_1    defaults
memory_profiler           0.52.0                   py36_0    defaults
menuinst                  1.4.11           py36hfa6e2cd_0    defaults
mistune                   0.8.3                    py36_0    defaults
mkl                       2018.0.2                      1    defaults
mkl-service               1.1.2            py36h57e144c_4    defaults
mkl_fft                   1.0.1            py36h452e1ab_0    defaults
mkl_random                1.0.1            py36h9258bd6_0    defaults
more-itertools            4.1.0                    py36_0    defaults
mpmath                    1.0.0            py36hacc8adf_2    defaults
msgpack-python            0.5.6            py36he980bc4_0    defaults
msys2-conda-epoch         20160418                      1    defaults
multipledispatch          0.5.0                    py36_0    defaults
mysql-connector-c         6.1.11               hf3e53a5_0    defaults
mysql-connector-python    2.0.4                    py36_0    defaults
mysqlclient               1.3.12           py36hfa6e2cd_0    defaults
navigator-updater         0.1.0            py36h8a7b86b_0    defaults
nbconvert                 5.3.1            py36h8dc0fde_0    defaults
nbformat                  4.4.0            py36h3a5bc1b_0    defaults
networkx                  2.1                      py36_0    defaults
nltk                      3.2.5            py36h76d52bb_0    defaults
nose                      1.3.7            py36h1c3779e_2    defaults
notebook                  5.4.1                    py36_0    defaults
numba                     0.37.0          np112py36heca8ab3_0    defaults
numexpr                   2.6.4            py36h30784b8_0    defaults
numpy                     1.14.3           py36h9fa60d3_1    defaults
numpy-base                1.14.3           py36h555522e_1    defaults
numpydoc                  0.8.0                    py36_0    defaults
odo                       0.5.1            py36h7560279_0    defaults
olefile                   0.45.1                   py36_0    defaults
openpyxl                  2.5.4                    py36_0    defaults
openssl                   1.0.2p               hfa6e2cd_0    defaults
packaging                 17.1                     py36_0    defaults
pandas                    0.23.4           py36h830ac7b_0    defaults
pandoc                    1.19.2.1             hb2460c7_1    defaults
pandocfilters             1.4.2            py36h3ef6317_1    defaults
parso                     0.1.1            py36hae3edee_0    defaults
partd                     0.3.8            py36hc8e763b_0    defaults
path.py                   11.0.1                   py36_0    defaults
pathlib2                  2.3.0            py36h7bfb78b_0    defaults
patsy                     0.5.0                    py36_0    defaults
pep8                      1.7.1                    py36_0    defaults
pickleshare               0.7.4            py36h9de030f_0    defaults
pillow                    5.0.0            py36h0738816_0    defaults
pip                       10.0.1                   py36_0    defaults
pkginfo                   1.4.2                    py36_1    defaults
pluggy                    0.6.0            py36hc7daf1e_0    defaults
ply                       3.11                     py36_0    defaults
progress                  1.3              py36hbeca8d3_0    defaults
prompt_toolkit            1.0.15           py36h60b8f86_0    defaults
protobuf                  3.5.2            py36h6538335_0    defaults
psutil                    5.4.3            py36hfa6e2cd_0    defaults
py                        1.5.3                    py36_0    defaults
pycodestyle               2.4.0                    py36_0    defaults
pycosat                   0.6.3            py36h413d8a4_0    defaults
pycparser                 2.18             py36hd053e01_1    defaults
pycrypto                  2.6.1            py36hfa6e2cd_7    defaults
pycurl                    7.43.0.1         py36h74b6da3_0    defaults
pyflakes                  1.6.0            py36h0b975d6_0    defaults
pygments                  2.2.0            py36hb010967_0    defaults
pylint                    1.8.4                    py36_0    defaults
pymongo                   3.4.0                    py36_0    defaults
pympler                   0.5              py36h863af32_0    defaults
pyodbc                    4.0.23           py36h6538335_0    defaults
pyopenssl                 17.5.0           py36h5b7d817_0    defaults
pyparsing                 2.2.0            py36h785a196_1    defaults
pyqt                      5.9.2            py36ha878b3d_0    defaults
pysocks                   1.6.8                    py36_0    defaults
pytables                  3.4.2            py36h71138e3_2    defaults
pytest                    3.5.0                    py36_0    defaults
pytest-arraydiff          0.2                      py36_0    defaults
pytest-astropy            0.2.1                    py36_0    defaults
pytest-doctestplus        0.1.2                    py36_0    defaults
pytest-openfiles          0.2.0                    py36_0    defaults
pytest-remotedata         0.2.0                    py36_0    defaults
python                    3.6.5                h0c2934d_0    defaults
python-dateutil           2.7.2                    py36_0    defaults
pytz                      2018.3                   py36_0    defaults
pywavelets                0.5.2            py36hc649158_0    defaults
pywin32                   223              py36hfa6e2cd_0    defaults
pywinpty                  0.5.1                    py36_0    defaults
pyyaml                    3.12             py36h1d1928f_1    defaults
pyzmq                     17.0.0           py36hfa6e2cd_0    defaults
qt                        5.9.6            vc14h1e9a669_2    defaults
qtawesome                 0.4.4            py36h5aa48f6_0    defaults
qtconsole                 4.3.1            py36h99a29a9_0    defaults
qtpy                      1.4.0                    py36_0    defaults
requests                  2.18.4           py36h4371aae_1    defaults
rope                      0.10.7           py36had63a69_0    defaults
ruamel_yaml               0.15.35          py36hfa6e2cd_1    defaults
scikit-image              0.13.1           py36hfa6e2cd_1    defaults
scikit-learn              0.19.1           py36h53aea1b_0    defaults
scipy                     1.1.0            py36h672f292_0    defaults
seaborn                   0.8.1            py36h9b69545_0    defaults
send2trash                1.5.0                    py36_0    defaults
setuptools                39.0.1                   py36_0    defaults
simplegeneric             0.8.1                    py36_2    defaults
singledispatch            3.4.0.3          py36h17d0c80_0    defaults
sip                       4.19.8           py36h6538335_0    defaults
six                       1.11.0           py36h4db2310_1    defaults
snowballstemmer           1.2.1            py36h763602f_0    defaults
sortedcollections         0.6.1                    py36_0    defaults
sortedcontainers          1.5.9                    py36_0    defaults
sphinx                    1.7.9                    py36_0    defaults
sphinxcontrib             1.0              py36hbbac3d2_1    defaults
sphinxcontrib-websupport  1.0.1            py36hb5e5916_1    defaults
spyder                    3.3.1                    py36_1    defaults
spyder-kernels            0.2.4                    py36_0    defaults
sqlalchemy                1.2.6            py36hfa6e2cd_0    defaults
sqlite                    3.24.0               h7602738_0    defaults
statsmodels               0.9.0            py36h452e1ab_0    defaults
sympy                     1.1.1            py36h96708e0_0    defaults
tblib                     1.3.2            py36h30f5020_0    defaults
tensorflow                1.1.0               np112py36_0    defaults
terminado                 0.8.1                    py36_1    defaults
testpath                  0.3.1            py36h2698cfe_0    defaults
tflearn                   0.3.2                     <pip>
tk                        8.6.7                hcb92d03_3    defaults
toolz                     0.9.0                    py36_0    defaults
tornado                   5.0.1                    py36_1    defaults
tqdm                      4.19.9                   py36_0    defaults
traitlets                 4.3.2            py36h096827d_0    defaults
typing                    3.6.4                    py36_0    defaults
unicodecsv                0.14.1           py36h6450c06_0    defaults
urllib3                   1.22             py36h276f60a_0    defaults
vc                        14.1                 h0510ff6_3    defaults
vs2015_runtime            15.5.2                        3    defaults
wcwidth                   0.1.7            py36h3d5aa90_0    defaults
webencodings              0.5.1            py36h67c50ae_1    defaults
werkzeug                  0.14.1                   py36_0    defaults
wheel                     0.31.0                   py36_0    defaults
widgetsnbextension        3.2.0                    py36_0    defaults
win_inet_pton             1.0.1            py36he67d7fd_1    defaults
win_unicode_console       0.5              py36hcdbd4b5_0    defaults
wincertstore              0.2              py36h7fe50ca_0    defaults
winpty                    0.4.3                         4    defaults
wrapt                     1.10.11          py36he5f5981_0    defaults
xlrd                      1.1.0            py36h1cb58dc_1    defaults
xlsxwriter                1.0.2            py36hf723b7d_0    defaults
xlwings                   0.11.7                   py36_0    defaults
xlwt                      1.3.0            py36h1a4751e_0    defaults
xmltodict                 0.11.0                     py_1    conda-forge
yaml                      0.1.7                hc54c509_2    defaults
zict                      0.1.3            py36h2d8e73e_0    defaults
zlib                      1.2.11               h8395fce_2    defaults
ccordoba12 commented 6 years ago

I confirm this problem is also present with the Linux packages.

mingwandroid commented 6 years ago

Thanks. Will look into it ASAP. Luckily I'm working on qt at present!

Hockery commented 5 years ago

I'm also confirm in ubuntu's anaconda:

conda list

pyqt 5.9.2 py36h22d08a2_1 anaconda

lsb_release -a

No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 16.04.5 LTS Release: 16.04 Codename: xenial

sahasrara62 commented 5 years ago

@hyamanieu @mingwandroid any solution for this no ? , as i am facing this problem also

conda list

pyqt 5.9.2 py36h6538335_2 python 3.6.8 h9f7ef89_7 qt 5.9.7 vc14h73c81de_0

hyamanieu commented 5 years ago

@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).

sahasrara62 commented 5 years ago

@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).

ZiqianXie commented 5 years ago

Any solution now without downgrading?

hyamanieu commented 5 years ago

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.

DenisPolygalov commented 4 years ago

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

paapu88 commented 4 years ago

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

ispielma commented 4 years ago

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.

SN33DS commented 4 years ago

Still having this problem trying to use someone's code on windows 10 w/ anaconda 3 and python 3.7.

DenisPolygalov commented 3 years ago

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

jtpack commented 3 years ago

This issue is still present today.

condosz commented 3 years ago

Issue still persists as of today.

amrithmmh commented 3 years ago

any updates?

obbe79 commented 2 years ago

still the same 👎

brobinson-qp commented 2 years ago

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.

pinnaculum commented 2 years ago

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

Cython-I commented 1 year ago

Still a present issue

harmindersinghnijjar commented 1 year ago

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.

samar45 commented 1 year ago

its still there ( cannot import name 'QMimeType' from 'PyQt5.QtMultimedia)

epifanio commented 1 year ago

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.
strk commented 9 months ago

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