how to install QtSvg,QtWebKit,QtWebKitWidgets(all

2019-04-07 10:30发布

I want to install eric6-6.0.6.The result of

python3 install.py

is:

Checking dependencies
Python Version: 3.4.0
Found PyQt5
Found QScintilla2
Found QtGui
Found QtNetwork
Found QtPrintSupport
Found QtSql
Sorry, please install QtSvg.
Error: No module named 'PyQt5.QtSvg'
Sorry, please install QtWebKit.
Error: No module named 'PyQt5.QtWebKit'
Sorry, please install QtWebKitWidgets.
Error: No module named 'PyQt5.QtWebKitWidgets'
Found QtWidgets

But how to install the missing? I google a lot but fail to find the correct answer.

Anyone could do me a favor?

Thanks a lot!

标签: python qt qt5
1条回答
霸刀☆藐视天下
2楼-- · 2019-04-07 11:24

You can install these packages all with

sudo apt-get install <package>

I don't have an ubuntu distro set up right now, so I can't verify for you, but I don't think you'll need to install the third package.

Packages:

libqt5webkit5-dev

For python-3.x:

python3-pyqt5.qtsvg

python3-pyqt5.qtwebkit

查看更多
登录 后发表回答