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. Easy_install PySide throws SyntaxError for examples [Python 3]
Forum Updated to NodeBB v4.3 + New Features

Easy_install PySide throws SyntaxError for examples [Python 3]

Scheduled Pinned Locked Moved Language Bindings
4 Posts 2 Posters 1.8k Views 1 Watching
  • 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.
  • K Offline
    K Offline
    kros
    wrote on 16 Aug 2013, 15:01 last edited by
    #1

    Hi,

    I've noticed a problem with PySide and easy_install (at least on Windows with Python 3). 2to3.py should fix it, but so far it looks like a bug. Could someone confirm this? Should I ignore it?

    Windows 7, Python 3.3.2, setuptools 0.9.8, PySide 1.2.1

    Here is an output: "https://gist.github.com/anonymous/6250575":https://gist.github.com/anonymous/6250575

    1 Reply Last reply
    0
    • B Offline
      B Offline
      bootchk
      wrote on 1 Sept 2013, 15:39 last edited by
      #2

      What assertion is violated, that PySide 1.2.1 (and its examples) is compatible with Python 3? (I don't know whether that assertion has been made. If so, then yes, it looks like a bug.)

      With all due respect, please try to make it easy on readers, for example, in your question saying 'it looks like the PySide examples fail syntax checking of Python 3.' Or 'syntax checking of Python 3 caused PySide not to install.' ( I don't know whether it did, since I didn't read the log carefully, and wouldn't need to if you would just summarize what the problem is.)

      1 Reply Last reply
      0
      • K Offline
        K Offline
        kros
        wrote on 1 Sept 2013, 20:57 last edited by
        #3

        I just wondered if this type of exception thrown during the installation did not affect the installation process. It seems that the problem is related only to the examples that have not been ported to Python 3. Pyside is installed correctly and is working properly.

        1 Reply Last reply
        0
        • B Offline
          B Offline
          bootchk
          wrote on 2 Sept 2013, 10:18 last edited by
          #4

          I concur with you that the errors are harmless to the install. Its an open source project: it is low priority for them to port the examples to Python 3. I don't know how to read the install scripts to know whether the success of the installation is conditional on successful interpretation by Python 3 of the examples. Probably not, since you will find whether the install was successful soon enough as you try PySide with your real code. Your post is good to know (for others who will be trying Python3 soon) but I wouldn't file a bug report, the PySide project probably knows already.

          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