[PyKDE] ANN: SIP/PyQt 3.3rc3
Hans-Peter Jansen
hpj at urpla.net
Thu Jul 4 13:15:00 BST 2002
On Thu, 04 Jul 2002 10:56:11 +0100
"Phil Thompson" <phil at river-bank.demon.co.uk> wrote:
> Hans-Peter Jansen wrote:
>
> >
> > Hm, I'm sorry, but I failed to get this going on a SuSE 7.2 with
> > Python 2.0 system. The error is now more obscure then ever:
> >
> > hp at iron:~> python -c "from qt import Qt"
> > Traceback (most recent call last):
> > File "<string>", line 1, in ?
> > ImportError: cannot import name Qt
> >
> > On my SuSE 7.3/Python 2.1, it runs fine. It's not a permission problem.
> > I straced this, but it doesn't reveal the problem to me, too. Attached.
> >
> > python -c "import qt" and "from qt import *" works, BTW. What's wrong here?
> > Before somebody wonders, it's not my idea to import Qt from qt, it's from
> > site-packages/qttable.py.
> >
> > Anybody still working on Python 2.0 with current PyQt?
>
>
> I've just built SIP and PyQt under Python 2.0.1 and didn't have any
> problems.
>
> Phil
Taking a deeper look into the trace finally revealed the problem. For
some unknown reason, a qt.py module was lurking in /usr/lib/python2.0.
Sorry for the trouble. Will check rc3 for the sql flaws now.
Hans-Peter
More information about the PyQt
mailing list