Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7419885
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T08:08:50+00:00 2026-05-29T08:08:50+00:00

Hello I have this problem with PyQt4-dev-tools that include: * a user interface compiler

  • 0

Hello I have this problem with PyQt4-dev-tools that include:
* a user interface compiler (pyuic4)
* a resource file generator (pyrcc4)
* a translation string finder (pylupdate)
The problem comes when I want to convert my code saved from Designer into a module using:

pyuic4 untitled.ui>test.py 

and I get this error:

Traceback (most recent call last):
  File "/usr/bin/pyuic4", line 3, in <module>
    import PyQt4.uic.pyuic
  File "/usr/lib/pymodules/python2.6/PyQt4/uic/pyuic.py", line 4, in <module>
    from PyQt4 import QtCore
RuntimeError: the sip module implements API v8.0 to v8.1 but the PyQt4.QtCore module requires API v7.1

I have tried upgrade,remove and re install, manually install etc…

here is the complete log of what i did: http://pastebin.com/2DYfAwdC

PD Sorry for my bad English

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T08:08:50+00:00Added an answer on May 29, 2026 at 8:08 am

    Your sip python module must have been reinstalled to a newer version which is now incompatible with your PyQt installation. I would recommend removing sip, PyQt, and Qt, and then reinstalling them.

    Check that your apt is up to date, and also confirm that you don’t have an old PyQt installation sitting somewhere in your pythonpath.

    If you are able to successfully import PyQt by itself then try comparing the import paths to make sure you aren’t pulling another version of PyQt:

    # from a shell
    python -c "from PyQt4 import QtCore; print QtCore.PYQT_VERSION_STR, QtCore.QT_VERSION_STR; print QtCore.__file__"
    

    Compare the versions and the PyQt4 location to the one being dumped out from your traceback when using pyuic4

    If its a matter of sip being found in a different location, try adjusting your PYTHONPATH to confirm:

    import sys
    sys.path.insert(0, "/usr/lib/pymodules/python2.6")
    
    from PyQt4 import QtCore
    

    If this works without crashing, then you should probably remove the newer sip that is causing a conflict from here: “/usr/lib/python2.6/dist-packages/sip.so”

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

file = [file1,file2,...].join( ) `paste #{file}` Hello, I have this simple problem that has
Problem Hello all! I have this code which takes my jpg image loops through
Hello I have this list that i am working on. When i move the
Let's say that I have this string: s = '<p>Hello!</p>' When I pass this
Hello i have a problem in display the Png file in IE. It's work
Hello i have the this problem, i need your help to figure out what
I have this problem that always occurs when I'm using display: inline-block to display
Hello I have this problem: I have MySQL Database with collation latin1_bin . In
Hello stack overflow I need help with this problem. Ok, I have a flat
I need help to solve this problem: I have a csv file like this

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.