[PyQt] Sip problem with module import
Sébastien Petitdemange
sebastien.petitdemange at esrf.fr
Mon Feb 14 13:35:42 GMT 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi All,
I'm trying to port to Windows platform some sip module we previously
used with Linux.
There is two modules one depend of the other:
- module A and
- module B import module A.
My problem is that when I import those two module, I've got a RunTime
exception in Python.
i.e:
import A
import B #It's generate the following exception
RuntimeError: the sip module has already registered a module called A
Those import work perfectly with Linux platform!
Is there an extra keyword to add into sip file or a work around...
Thanks a lot in advance for your help,
SEB
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQEcBAEBAgAGBQJNWS+uAAoJEEtktDVosZgUKjcH/3MPKCmKDJJbuXkaPv5s9Uil
P1nnjjsBm9wKbbSxGE5YLihXklAhuXrK51WxBUSYbHIuxpsDh5F5Ie7jkEC/KQFT
B3meCme+yyFgS7BZDl/THRiKlCGQc2CEndHHBQPxb21BTWyeMVqLGI5ynbQgXwI4
RZOVGf83BLOCjWK+abDrIY0BJi55iNgHqJ1Ok1eHtKqvPKHycZ2bFoyRpoEDdWS7
ofs5LnNJ1/ai5H42F5tgdPSLZVKUuUdyHme1tlwPp94kGoxXofbrf7aYaPZLobuG
T6QV/XRRF52QNyJaKYtxr8yCD/T+D6J7StPIK+lY9QX29BWNTtKayLVls8Oe3J0=
=Ded1
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sebastien_petitdemange.vcf
Type: text/x-vcard
Size: 210 bytes
Desc: not available
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20110214/a0e55b2b/attachment.vcf>
More information about the PyQt
mailing list