When I try to run bauh it complains about missing PyQt5.sip, despite it being installed.
See original GitHub issueDescribe the bug
When I try to run bauh
it complains about missing PyQt5.sip
, despite it being installed.
kris@brokenSUSE ~> bauh
Traceback (most recent call last):
File "/usr/bin/bauh", line 5, in <module>
from bauh.app import main
File "/usr/lib/python3.6/site-packages/bauh/app.py", line 5, in <module>
from PyQt5.QtCore import QCoreApplication, Qt
ModuleNotFoundError: No module named 'PyQt5.sip'
kris@brokenSUSE ~> sudo pip3 install PyQt5
Requirement already satisfied: PyQt5 in /usr/lib64/python3.6/site-packages (5.15.0)
Requirement already satisfied: PyQt5-sip<13,>=12.8 in /root/.local/lib/python3.6/site-packages (from PyQt5) (12.8.0)
kris@brokenSUSE ~>
Software Environment
bauh version: bauh-0.9.5
O.S: openSUSE Leap 15.2 RC (It’s a Release Candidate, but I don’t think this matters here, maybe lol)
Python version: 3.6
bauh installation method: From pip
with sudo pip3 install bauh
.
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
No module named PyQt5.sip - python
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 #892 · Electron-Cash ...
-I tells it to ignore already-installed packages and reinstall them. PyQt5.QtGui import * seems to be calling for SIP in some deprecated manner ......
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 >Building PyQt5 in a Python Virtual Environment
Reinstall everything in your virtualenv. Use ldd to check that the shared libraries installed by pip don't have missing dependencies. None of ...
Read more >Packaging PyQt5 applications for Windows, with PyInstaller ...
You can try running your app yourself now, by running the executable file, named app.exe from the dist folder. After a short delay...
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 Free
Top 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
OK, thanks. I’m closing this one.
I see… well, you can install it manually. It will bring all Python dependencies correctly in a separate virtual environment regardless of the distro.
You can close it, since it is not a bauh issue.