You are not logged in.

#1 2015-04-25 11:40:53

typedeph
Member
Registered: 2014-11-15
Posts: 5

[SOLVED] Python3 IPython Import Error

Whenever I invoke ipython --pylab I get the following error:

ImportError: libQt5Svg.so.5: cannot open shared object file: No such file or directory

I know this is a linking error but I don't know how to begin to diagnose this problem. I have installed most/all of the scipy stack: ipython, ipython-notebook, numpy, matplotlib, sympy, and scipy through the package manager. In addition my system also has python-pyqt5 and pyqt5-common, so I don't think i'm missing any required packages.

Any guidance or suggestions would be greatly appreciated.

Last edited by typedeph (2015-04-25 13:17:47)

Offline

#2 2015-04-25 12:07:12

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Python3 IPython Import Error

https://wiki.archlinux.org/index.php/Pkgfile

$ pkgfile libQt5Svg.so.5
extra/qt5-svg

Offline

#3 2015-04-25 12:22:47

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,523
Website

Re: [SOLVED] Python3 IPython Import Error

And:

$ pacman -Si python-pyqt5
...
Optional Deps  : ...
                 qt5-svg: QtSvg

mod note: moved to N.C.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#4 2016-09-21 16:51:04

wrufesh
Member
Registered: 2016-09-21
Posts: 1

Re: [SOLVED] Python3 IPython Import Error

Hi I also have the same problem but I still get

ImportError: libQt5WebKitWidgets.so.5: cannot open shared object file: No such file or directory

Previously as I remember it was working on my arch. I have recently swithed to i3 window manager. Has that anything to do with it?

Offline

#5 2016-09-21 17:08:32

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,523
Website

Re: [SOLVED] Python3 IPython Import Error

That is not at all the same problem.  You are missing a completely different library.  However, both posts above would also give you the answer to your question as it's the same format "I'm missing ABC lib" then check what package provides ABC lib with pkgfile, pacman -F, or check the optional dependencies of python-pyqt5 and install the package you need.

Please don't necrobump old thread.

Closed.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

Board footer

Powered by FluxBB