Thread: libsip error

    #1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2002
    Location
    Australia
    Posts
    33
    Rep Power
    13

    libsip error


    hi
    i found this little script on a site that is ment to just show a window
    PHP Code:
    #!/usr/bin/env python
    import sys
    from qt import 
    *
    from kdecore import *
    from kdeui import *

    a=KApplication(sys.argv)
    w=QWidget()
    a.setMainWidget(w)
    a.setTopWidget(w)
    w.resize(200,100)
    w.show()
    a.exec_loop() 
    and when i9 try and run it i get this error

    [root@nexe1 python]# python helloworld.py
    Traceback (most recent call last):
    File "helloworld.py", line 3, in ?
    from qt import *
    File "/usr/lib/python2.2/site-packages/qt.py", line 35, in ?
    import libsip
    ImportError: No module named libsip
    [root@nexe1 python]#

    i have installed libsip but i get the same error
  2. #2
  3. Wacky hack
    Devshed Novice (500 - 999 posts)

    Join Date
    Apr 2001
    Location
    London, England
    Posts
    513
    Rep Power
    14
    It's a very common error... packages for Sip and PyQt tend to be messed up. Have a look at:

    http://quickrip.sourceforge.net/fp.shtml#pyqt

IMN logo majestic logo threadwatch logo seochat tools logo