question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

When I try to run bauh it complains about missing PyQt5.sip, despite it being installed.

See original GitHub issue

Describe 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:closed
  • Created 3 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
perrsona1234commented, Jun 23, 2020

OK, thanks. I’m closing this one.

0reactions
vinifmorcommented, Jun 23, 2020

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found