[Eric] Problems with eric6 on Ubuntu 18.10

Tony Arnold tony.arnold at manchester.ac.uk
Thu Oct 25 18:44:15 BST 2018


Hi Boyuan,

On Thu, 2018-10-25 at 13:37 -0400, 073plan at gmail.com wrote:
> 在 2018年10月25日星期四 EDT 下午1:26:02,Tony Arnold 写道:
> > I've just upgraded to Ubuntu 18.10 and have hit problems running
> > eric6
> > (version 18.10).
> 
> Ubuntu 18.10 didn't ship eric6 18.10 in it traditional apt/dpkg
> repository.
> It was shipping eric6 18.05-1.1. Did you install from some other
> repositories,
> like the snap store or something like that? Or did you just manually
> installed
> eric6?

I downloaded from the eri6 web site. eric6 was installed before I
upgraded.

> > When I first ran it using the pyqt5 (5.11.2) and sip (4.19.2)
> > installed
> > from the Ubuntu respositories, I got the following:
> 
> Ubuntu 18.10 never ships python3-sip 4.19.2. It ships python3-sip
> 4.19.12.
> Was it a typo?

Yes, that was a typo. I have 4.19.12.

> > $ eric6
> > Traceback (most recent call last):
> >   File "/usr/lib/python3/dist-packages/eric6/eric6.py", line 28, in
> > <module>
> >     import Globals.compatibility_fixes     # __IGNORE_WARNING__
> >   File "/usr/lib/python3/dist-packages/eric6/Globals/__init__.py",
> > line
> > 21, in <module>
> >     from PyQt5.QtCore import QDir, QLibraryInfo, QByteArray,
> > QCoreApplication, \
> > RuntimeError: the sip module implements API v12.0 to v12.4 but the
> > PyQt5.QtCore module requires API v12.5
> 
> It looks like a bug at Ubuntu side and perhaps you should contact
> Ubuntu 
> Developers.

Looks like a mismatch between version of sip and version og PyQt.QtCore
to me.
> 
>  
> > So I installed pyqt5 using pip which also installed a newer version
> > of sip
> > eric6 runs, but I get:
> 
> Installing pyqt5 from pypi without coordination with other pyqt5-
> written 
> software can easily mess up your system, especially when Ubuntu 18.10
> is 
> shipping shiny new openssl 1.1.1...

Yes, I've discovered that in the past! Virtual environments can help,
but not sure if eric6 supports installing/running in a venv.

Regards,
Tony.
-- 
Tony Arnold MBCS, CITP | Senior IT Security Analyst | Directorate of IT Services | G64, Kilburn Building | The University of Manchester | Manchester M13 9PL | T: +44 161 275 6093 | M: +44 773 330 0039


More information about the Eric mailing list