After updating from 17.10 to 17.11, eric6 cannot be run and the following error
message has been issued (I finally downgraded to 17.10):
--------------------------------------------------------------------------------
2017-11-06, 13:37:07
--------------------------------------------------------------------------------
<class 'ModuleNotFoundError'>:
No module named 'PyQt5.QtWebKitWidgets'
--------------------------------------------------------------------------------
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/eric6/eric6.py",
line 379, in <module>
main()
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/eric6/eric6.py",
line 360, in main
disablecrash, restartArgs)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/eric6/UI/UserInterface.py",
line 254, in __init__
self.__createLayout(debugServer)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/eric6/UI/UserInterface.py",
line 694, in __createLayout
self.__createSidebarsLayout(debugServer)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/eric6/UI/UserInterface.py",
line 907, in __createSidebarsLayout
self.codeDocumentationViewer = CodeDocumentationViewer(self)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/eric6/UI/CodeDocumentationViewer.py",
line 200, in __init__
self.__setupUi()
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/eric6/UI/CodeDocumentationViewer.py",
line 289, in __setupUi
self.__richTextViewer = WebViewDocumentationViewer(self)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/eric6/UI/CodeDocumentationViewer.py",
line 126, in __init__
from PyQt5.QtWebKitWidgets import QWebPage, QWebView
--------------------------------------------------------------------------------
Version Numbers:
Python 3.6.3
Qt 5.9.2
PyQt 5.9
sip 4.19.4
QScintilla 2.10.1
eric6 17.11 (rev. 02c25eed0ff2)
Platform: darwin
3.6.3 (default, Oct 7 2017, 10:00:26)
[GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.37)]
---------------------------------------------------------------------------------------------------------------------------
Additionally,
- My machine runs MacOs Sierra 10.12.6
- Python, Qt, PyQt, sip, and QScintilla have been installed from macports
(version 2.4.2)
Once I have downgraded to 17.10, eric6 runs smoothly again.
I have updated and downgraded several times and I get always the same result.
Thanks a lot
|