Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Language Bindings
  4. [PySide] How to install correctly on Ubuntu 13.10

[PySide] How to install correctly on Ubuntu 13.10

Scheduled Pinned Locked Moved Language Bindings
1 Posts 1 Posters 1.1k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    calawap
    wrote on last edited by
    #1

    I'm running Ubuntu 13.10 with Python 3.3.4, installed via pyenv.

    When I run this command:
    sudo apt-get install python3-pyside
    PySide is installed to /usr/lib/python3/dist-packages/PySide.

    I can make a symlink to that directory in my pyenv Python 3.3's site-packages directory. This allows me to import PySide in Python, but I get an ImportError when trying to import QtGui from PySide:
    ImportError: cannot import name QtGui

    Ditto for similar modules as well. The PySide directory includes the QtGui.cpython-33m-i386-linux-gnu.so file, but it's not being accessed, I guess. I have fiddled with PYTHONPATH and LD_LIBRARY_PATH without success. I can't find much available information on this, so any advice would be appreciated.

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved