How to install Pyside for Python 2.7?

26,545

Solution 1

Install pip:

  1. Download pip installer from here and save it in a directory other than C.
  2. If you haven't set your python path: follow this.
  3. Open Command Prompt and cd to that directory where you saved the pip installer.
  4. run: python get-pip.py

Install pyside:

  1. Close and Reopen Command Prompt.
  2. run: cd C:\Python27\Scripts
  3. run: pip install -U PySide

Solution 2

PySide does not yet support the Qt 5.x branch.

Simply running pip install pyside will install bindings that support the Qt 4.8 branch. Thus, you need that version of Qt.

Share:
26,545
zzirrgrizz
Author by

zzirrgrizz

I am a freshman in high school who loves math and programming. Python is my favorite language

Updated on January 11, 2020

Comments

  • zzirrgrizz
    zzirrgrizz over 4 years

    Hey I am pretty new to Pyside and am not sure how to download it or Qt? I have a 64-bit Windows computer and am wondering what I need to download once I have downloaded Qt because there is a checklist for like Qt 5.3, Qt 5.2.1, etc. and I am not sure which to download because under those there are multiple options under them like MSCV2012 64-bit and mscv64-bit OpenGL. Basically I am just very lost on what I need and can't seem to find the answer. Could someone enlighten me?

    Thanks!