Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install Pyside for Python 2.7?

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!

like image 680
zzirrgrizz Avatar asked May 10 '14 00:05

zzirrgrizz


2 Answers

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
like image 139
naheed Avatar answered Oct 13 '22 08:10

naheed


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.

like image 34
Andy Avatar answered Oct 13 '22 07:10

Andy