No module named 'PyQt5.sip'
See original GitHub issueI tried following the directions in the README to build Electron Cash from source on a Ubuntu 18.04 VM. This was a new system, setup for experimenting with software.
When I got to the part where I run pyrcc5 icons.qrc -o gui/qt/icons_rc.py
, I got this output:
trout@trout-wasabi:~/Electron-Cash$ pyrcc5 icons.qrc -o gui/qt/icons_rc.py
Traceback (most recent call last):
File "/usr/local/bin/pyrcc5", line 11, in <module>
load_entry_point('PyQt5==5.11.3', 'console_scripts', 'pyrcc5')()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 480, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2693, in load_entry_point
return ep.load()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2324, in load
return self.resolve()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2330, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/usr/local/lib/python3.6/dist-packages/PyQt5-5.11.3-py3.6-linux-x86_64.egg/PyQt5/pyrcc_main.py", line 21, in <module>
from PyQt5.QtCore import PYQT_VERSION_STR, QDir, QFile
ModuleNotFoundError: No module named 'PyQt5.sip'
Issue Analytics
- State:
- Created 5 years ago
- Comments:15
Top Results From Across the Web
No module named PyQt5.sip - python - Stack Overflow
The reason is a backward incompatible change in PyQt-5.11. In geoptics this fix works on old and new versions: try: # new location...
Read more >No module named PyQt5.sip · Issue #921 · marcelotduarte ...
ImportError: No module named 'PyQt5.sip' . I can import PyQt5.sip in the same python environment that i used to call python setup.py build ......
Read more >Importerror no module named sip : Tricks to Handle
We can fix "importerror no module named sip" error by installing PyQt5 python module. We should always ensure the path for PyQt5 python...
Read more >PyQt5-sip - PyPI
The sip extension module provides support for the PyQt5 package. Project details. Project links. Homepage. Statistics. View statistics for this project via ...
Read more >ModuleNotFoundError: No module named 'PyQt5' in Python
The Python "ModuleNotFoundError: No module named 'PyQt5'" occurs when we forget to install the PyQt5 module before importing it or install it in...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Try:
-I
tells it to ignore already-installed packages and reinstall them.No… to the contrary – sip is bundled with PyQt5 as sip.so.
@christroutner this help for me https://github.com/Electron-Cash/Electron-Cash/issues/850#issuecomment-427083434
I made the follows: