From: ianayl <ianayl@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [ISSUE] Python3 can't import anything from PyQt5 (breaks Qutebrowser)
Date: Tue, 07 Apr 2020 00:56:36 +0200 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20710@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 2096 bytes --]
New issue by ianayl on void-packages repository
https://github.com/void-linux/void-packages/issues/20710
Description:
<!-- Don't request update of package. We have a script for that. https://alpha.de.repo.voidlinux.org/void-updates/void-updates.txt . However, a quality pull request may help. -->
### System
* xuname:
``Void 5.4.27_1 x86_64 GenuineIntel uptodate rFFFFF``
* package:
- ``python3-PyQt5-5.13.2_2``
- ``qutebrowser-1.10.1_1``
### Expected behavior
This command
```sh
$ python3 -c 'import PyQt5.QtCore'
```
should just work without any issues? Importing anything from PyQt5 should just work
### Actual behavior
```
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: libQt5Core.so.5: cannot open shared object file: No such file or directory
```
Python starts to freak out instead and tells me this file doesn't exist. Any programs using PyQt5, **such as qutebrowser**, breaks, returning
```
Fatal error: PyQt5.QtCore is required to run qutebrowser but could not be imported! Maybe it's not installed?
The error encountered was:
libQt5Core.so.5: cannot open shared object file: No such file or directory
Please search for the python3 version of PyQt5.QtCore in your distributions packages, or see https://github.com/qutebrowser/qutebrowser/blob/master/doc/install.asciidoc
If you installed a qutebrowser package for your distribution, please report this as a bug.
```
Granted though, even if I installed PyQt5, the file `libQt5Core.so.5` doesn't actually exist. Running
```sh
$ find / | grep Qt5Core
```
produces:
```
/usr/lib/libQt5Core.so.5.14
/usr/lib/libQt5Core.so.5.14.2
```
Now, I won't lie, I'm not very good with this stuff, but I think this means that `libQt5Core.so.5.14` should actually be `libQt5Core.so.5`?
### Steps to reproduce the behavior
Just install ``python3-PyQt5-5.13.2_2`` (I think this is the latest version) and try running ``python3 -c 'import PyQt5.QtCore'``, it should complain about no `libQt5Core.so.5`
Thank you for your time btw, I appreciate the help
next reply other threads:[~2020-04-06 22:56 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-06 22:56 ianayl [this message]
2020-04-07 1:15 ` q66
2020-04-07 1:16 ` q66
2020-04-07 1:36 ` ianayl
2020-04-07 1:36 ` [ISSUE] [CLOSED] " ianayl
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20710@inbox.vuxu.org \
--to=ianayl@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).