Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] Python3 can't import anything from PyQt5 (breaks Qutebrowser)
@ 2020-04-06 22:56 ianayl
  2020-04-07  1:15 ` q66
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: ianayl @ 2020-04-06 22:56 UTC (permalink / raw)
  To: ml

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-04-07  1:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-06 22:56 [ISSUE] Python3 can't import anything from PyQt5 (breaks Qutebrowser) ianayl
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

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).