[Eric] Problems with eric6 on Ubuntu 18.10

Tony Arnold tony.arnold at manchester.ac.uk
Fri Oct 26 17:29:13 BST 2018


Detlev,

Apologies as I hadn't fully understood your advice. I've now uninstalled sip using pip and that has fixed the problem.

Many thanks.

Regards,
Tony.

On Thu, 2018-10-25 at 18:35 +0000, Tony Arnold wrote:

Detlev,


On Thu, 2018-10-25 at 20:10 +0200, Detlev Offenbach wrote:

sip should be uninstalled because PyQt5 5.11.2 uses a private sip.

The way it

is on your system causes the obsolete version being used. Please note

that

upgrading PyQt5 might need an upgrade of QScintilla as well.



apt wants to remove other packages which depend on python3-sip,

including python3-pyqt5!


I think it's time to report a bug to the Ubuntu folks.


Regards,

Tony.


Detlev


Am Donnerstag, 25. Oktober 2018, 19:44:15 CEST schrieb Tony Arnold:

Hi Boyuan,


On Thu, 2018-10-25 at 13:37 -0400,

<mailto:073plan at gmail.com>

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

_______________________________________________

Eric mailing list

<mailto:Eric at riverbankcomputing.com>

Eric at riverbankcomputing.com



<https://www.riverbankcomputing.com/mailman/listinfo/eric>

https://www.riverbankcomputing.com/mailman/listinfo/eric





--

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

_______________________________________________

Eric mailing list

<mailto:Eric at riverbankcomputing.com>

Eric at riverbankcomputing.com


<https://www.riverbankcomputing.com/mailman/listinfo/eric>

https://www.riverbankcomputing.com/mailman/listinfo/eric


--

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/eric/attachments/20181026/3331d747/attachment.html>


More information about the Eric mailing list