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 8260979
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T03:14:37+00:00 2026-06-08T03:14:37+00:00

I’ve reinstalled python3.2.2 interpreter from source on Linux Mint to add unicode support in

  • 0

I’ve reinstalled python3.2.2 interpreter from source on Linux Mint to add unicode support in curses and found out that PyQt4 library is not importing. I’ve tried to reinstall it, but got the same problem as here: PyQt4 for Python 3.2.2 failing to install on Linux Mint 12. So I’ve followed the answer of BlaXpirit and installed PySide, but it wasn’t importing too. Then I’ve found them both in /usr/lib/python3/dist-packages that wasn’t added to PYTHONPATH variable. I’ve added that dir and recieved next:

In [1]: import PySide

is okay, but:

In [2]: import PySide.QtCore
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-3-1c10ffe6e7d7> in <module>()
----> 1 import PySide.QtCore

ImportError: No module named QtCore

and PyQt4:

In [3]: import PyQt4
In [4]: import PyQt4.QtCore
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-5-e7e95ffb1113> in <module>()
----> 1 import PyQt4.QtCore

ImportError: /usr/lib/python3/dist-packages/PyQt4/QtCore.so: undefined symbol:       PyUnicodeUCS4_AsLatin1String

In PySide directory content is:

-rw-r--r-- 1 root root      181 2012-04-23 23:58 __init__.py
-rw-r--r-- 1 root root   783048 2012-04-24 02:16 phonon.cpython-32mu.so
drwxr-xr-x 2 root root     4096 2012-07-17 09:34 __pycache__
-rw-r--r-- 1 root root  2606568 2012-04-24 02:16 QtCore.cpython-32mu.so
-rw-r--r-- 1 root root   379188 2012-04-24 02:16 QtDeclarative.cpython-32mu.so
-rw-r--r-- 1 root root 11298296 2012-04-24 02:16 QtGui.cpython-32mu.so
-rw-r--r-- 1 root root   377804 2012-04-24 02:16 QtHelp.cpython-32mu.so
-rw-r--r-- 1 root root   921720 2012-04-24 02:16 QtNetwork.cpython-32mu.so
-rw-r--r-- 1 root root   370024 2012-04-24 02:16 QtOpenGL.cpython-32mu.so
-rw-r--r-- 1 root root   266296 2012-04-24 02:16 QtScript.cpython-32mu.so
-rw-r--r-- 1 root root    47608 2012-04-24 02:16 QtScriptTools.cpython-32mu.so
-rw-r--r-- 1 root root   481964 2012-04-24 02:16 QtSql.cpython-32mu.so
-rw-r--r-- 1 root root   152524 2012-04-24 02:16 QtSvg.cpython-32mu.so
-rw-r--r-- 1 root root    93592 2012-04-24 02:16 QtTest.cpython-32mu.so
-rw-r--r-- 1 root root   770644 2012-04-24 02:16 QtUiTools.cpython-32mu.so
-rw-r--r-- 1 root root   570536 2012-04-24 02:16 QtWebKit.cpython-32mu.so
-rw-r--r-- 1 root root   443944 2012-04-24 02:16 QtXml.cpython-32mu.so
-rw-r--r-- 1 root root   236552 2012-04-24 02:16 QtXmlPatterns.cpython-32mu.so

In PyQt4:

-rw-r--r-- 1 root root    1111 2012-07-02 13:39 __init__.py
-rw-r--r-- 1 root root   13369 2012-07-02 13:39 pyqtconfig.py
-rwxr-xr-x 1 root root 2267672 2012-07-02 13:39 QtCore.so
-rwxr-xr-x 1 root root  226468 2012-07-02 13:39 QtDeclarative.so
-rwxr-xr-x 1 root root  302208 2012-07-02 13:39 QtDesigner.so
-rwxr-xr-x 1 root root 7362040 2012-07-02 13:39 QtGui.so
-rwxr-xr-x 1 root root  639832 2012-07-02 13:39 QtNetwork.so
-rwxr-xr-x 1 root root  248712 2012-07-02 13:39 QtOpenGL.so
-rwxr-xr-x 1 root root  187824 2012-07-02 13:39 QtScript.so
-rwxr-xr-x 1 root root   19964 2012-07-02 13:39 QtScriptTools.so
-rwxr-xr-x 1 root root    5508 2012-07-02 13:39 Qt.so
-rwxr-xr-x 1 root root  300872 2012-07-02 13:39 QtSql.so
-rwxr-xr-x 1 root root   85296 2012-07-02 13:39 QtSvg.so
-rwxr-xr-x 1 root root   28932 2012-07-02 13:39 QtTest.so
-rwxr-xr-x 1 root root  404432 2012-07-02 13:39 QtWebKit.so
-rwxr-xr-x 1 root root  158112 2012-07-02 13:39 QtXmlPatterns.so
-rwxr-xr-x 1 root root  301924 2012-07-02 13:39 QtXml.so
drwxr-xr-x 7 root root    4096 2012-07-02 13:39 uic

I’ve reinstalled python3 several times from repositories and python.org, from sources and binaries, and now I have 1 executable python3.2mu in /usr/bin and 3 (python3, python3.2, python3.2m) in /usr/local/bin.
Help me please!

  • 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-06-08T03:14:38+00:00Added an answer on June 8, 2026 at 3:14 am

    solved the problem with PyQt4 by changing 65 line in pyatomic.h:

    from

     _Py_ANNOTATE_HAPPENS_BEFORE(address);
    

    to

    _Py_ANNOTATE_HAPPENS_BEFORE(address) (void)address;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
For some reason, after submitting a string like this Jack’s Spindle from a text
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I've got a string that has curly quotes in it. I'd like to replace
I have a French site that I want to parse, but am running into
I am doing a simple coin flipping experiment for class that involves flipping a
I have a text area in my form which accepts all possible characters from

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.