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 2.7 installation for windows vista
QtWS25 Last Chance

Pyside 2.7 installation for windows vista

Scheduled Pinned Locked Moved Language Bindings
6 Posts 2 Posters 3.8k 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.
  • S Offline
    S Offline
    sdfox1874
    wrote on last edited by
    #1

    I'm having trouble with the installation of pyside for windows vista.

    I simply download the windows installer and ran it. I assume that is all that I am supposed to do on a windows platform. I ran a python console, and typed "import pyside" but it says that there is no pyside module. I didn't see any readme within the installation that provides further instructions. Does anyone have any suggestions on what I should try next? I can clearly see the pyside installation under C:\Python27\Lib\site-packages\PySide. C:\python27 is within my path variable. I'd appreciate the help.

    1 Reply Last reply
    0
    • L Offline
      L Offline
      lndn
      wrote on last edited by
      #2

      It's case sensitive. Try this:

      @

      import pyside

      Traceback (most recent call last):
      File "<pyshell#0>", line 1, in <module>
      import pyside
      ImportError: No module named pyside

      import PySide
      PySide.version
      '1.1.2'

      @

      1 Reply Last reply
      0
      • S Offline
        S Offline
        sdfox1874
        wrote on last edited by
        #3

        Good grief. I guess I was in a hurry that day. Thanks!

        1 Reply Last reply
        0
        • S Offline
          S Offline
          sdfox1874
          wrote on last edited by
          #4

          http://qt-project.org/wiki/Setting_up_PySide

          I copy and pasted the line to check QtCore, and received a similar error.

          print(PySide.QtCore.qversion())
          Traceback (most recent call last):
          File "<stdin>", line 1, in <module>
          AttributeError: 'module' object has no attribute 'QtCore'

          1 Reply Last reply
          0
          • L Offline
            L Offline
            lndn
            wrote on last edited by
            #5

            sdfox1874: I'm not sure why you're getting that error. I was able to run the same print statement that you tried and got back the correct version number.

            1 Reply Last reply
            0
            • S Offline
              S Offline
              sdfox1874
              wrote on last edited by
              #6

              Interesting. I forgot to post that I was able to run some of the example programs and I did see the pop-up windows. I've included that my installation is working, but I couldn't find anything in the PySide package that has a QtCore object. Weird. I guess I won't worry about it unless I see more problems as I continue to use it.

              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