Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #85589

Odd version scheme

Date 2015-02-12 17:45 +0100
From Gisle Vanem <gvanem@yahoo.no>
Subject Odd version scheme
Newsgroups comp.lang.python
Message-ID <mailman.18693.1423759693.18130.python-list@python.org> (permalink)

Show all headers | View raw


I tried using Interactive Python with a PyQt4 console:
   "IPython.exe qtconsole"

But got a
   "ImportError: IPython requires PyQT4 >= 4.7, found 4.10.4"

Looking at Ipython's check (in site-packages\IPython\external\qt.py):
   if QtCore.PYQT_VERSION_STR < '4.7':
       raise ImportError("IPython requires PyQt4 >= 4.7, found %s"%QtCore.PYQT_VERSION_STR)

So even if '4.10' < '4.7', my '4.10' is newer. What odd version scheme is
this really? I just edited that line to read:
  if QtCore.PYQT_VERSION_STR < '4.10':

Seems to be working fine now.

-- 
--gv

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Odd version scheme Gisle Vanem <gvanem@yahoo.no> - 2015-02-12 17:45 +0100

csiph-web