My Python3 project needs the QtSvg module (from PyQt5) on Python3. How can I (automatically) install the missing QtSvg using PyCharm into a venv, etc.?
I'm aware of the fact that there are OS distribution-specific packages on top of the base python3-pyqt5 which bring in QtSvg separately. However, I want to allow the users of my PyPI package (linuxns-rel
) to simply install my package through pip3
.
Is installing QtSvg for PyQt5 via PyCharms package management possible at all? I tried installing PyQt5 via PyCharms project package management to install it into a project-specific venv, but this always fails to bring in QtSvg.
Note: manually removing PyQt5 using the project-specific venv/bin/pip3
and then installing PyQt5 again using --no-cache-dir
with the venv/bin/pip3
finally brings in a working PyQt5.
Were I am bitten by a broken PyQt5 package then? How do I correctly install a fully PyQt5 from within PyCharm into a venv?