-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Cannot import name QtWebKit" message when installing OpenLayers plugin #56
Comments
I had the same experience. The error log mentioned a required package. It was, if I recall correctly, I installed python3-pyqt5.qtwebkit, unistalled the OpenLayers plugin, re-installed. Success.. Ubuntu, QGIS 3.0.2 |
Having the same problem, I cannot reproduce that fix/workaround. The plugin version qgis downloads requires and uses PyQt4, which is not contained in Ubuntu 18.04 anymore. There's just PyQt5. So I don't see how this could work to install python3-pyqt5.qtwebkit, especially since ubuntu's version of qgis uses /usr/bin/python, which is a symlink to python2.7. So there's two reasons why python3-pyqt5.qtwebkit doesn't seem to help: The 3 and the 5. regards |
@rbracket I have the same issue maybe you are using qgis3 |
Yes, I’m using QGIS 3..I forget the version, but my intention is to always
have last nights...
I can test again in a few days. No production work going on, just a hobby.
Katie
On Sat, May 26, 2018 at 1:01 AM mone27 ***@***.***> wrote:
@rbracket <https://github.com/rbracket> I have the same issue maybe you
are using qgis3
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#56 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAqCBgMskzhi3HLT5Mc8NAbX4_SBS8mTks5t2QvZgaJpZM4TzFto>
.
--
Katie Urey
Portland, Oregon
503-228-3083 (land line with saxophone greeting)
503-780-9034 (cell, though not always "on")
[email protected]
|
Maybe I found the origin of the problem. Since Qt 5.6 QtWebKitWidget has been replaced by QtWebEngineWidget so since Ubuntu 18.04 uses Qt 5.9 it will never work. We should patch openlayers, porting should not be too difficult http://doc.qt.io/qt-5/qtwebenginewidgets-qtwebkitportingguide.html. |
I have the same problem at installing Openlayers on Debian testing (Buster): No workaround? |
Ubuntu 18.04, QGIS 2.18 here. Is there no solution to this? The same error comes from QuickOSM plugin. I am wondering if the solution here would work for my issue as well.: ImportError: cannot import name QtWebKit Python version: 2.7.15rc1 (default, Apr 15 2018, 21:51:34) [GCC 7.3.0] Python Path: |
Just want to say I am affected also on ubuntu 18.04 and qgis 2.18.17. |
workaround tip: |
The Python bindings of libqtwebkit4 have been removed in Debian Sid and Ubuntu 18.04. QGIS packages from qgis.org now include these Python bindings. So installing |
Despite the installation of libqtwebkit4 , the open layer plugin can't be installed on my pc (ubuntu 18.04) How is it possible? |
Same here, I installed QGIS 2.18.17 from qgis.org on Ubuntu 18.04, and I installed libqtwebkit4. I still can't import PyQt4.QtWebKit and install the OpenLayers plugin. |
Ongoing with 2.18.28 on Ubuntu 18.04 and all suggestions above tested. Workaround for Google Maps (Terrain layer is screwed but the rest is fine): https://geogeek.xyz/how-to-add-google-maps-layers-in-qgis-3.html |
Same problem here with QGIS 2.18.17 on Ubuntu 18.04.2 LTS and libqtwebkit4 installed. ImportError: cannot import name QtWebKit Traceback (most recent call last): |
anyone found fix for this yet? |
Has anyone found a solution or workaround for this Problem? (I cant switch to QGIS 3 because I need a Plugin that's not available for QGIS 3) |
Hi,
I'm using a fresh install of Ubuntu Bugie 18.04 on a laptop ASUS X550. I have QGIS 2.18.17 . When I try to install de OpenLayers plugin I receive this error "Cannot import name QtWebKit"
I red different posts, they conclude that the QGIS code doesn't uses anymore the python QtWebKit. Also I red that new versions of QGIS after 2.16 would fix this problem.
CAn you help me?
The text was updated successfully, but these errors were encountered: