LoginSignup
5
5

More than 5 years have passed since last update.

PySideのインストール覚え書き

Posted at

PythonのPySideモジュールをMavericksにインストールした際の覚え書き.

$ pip install PySide

だけで使えるようになるものと思っていたが,2点ほど作業が必要だった.

Qtライブラリのインストール

PySide 1.2.2はQtライブラリのバージョン4を必要とする.バージョン5ではない.

HomebrewにFormulaが用意されているので

$ brew install qt

にてバージョン4がインストールされる.

おまじない

PySideをインストール後,

$ pyside_postinstall.py -install

を実行する必要があった.実行しなくても一見import PySideは問題なく通る.しかし,from PySide import QtGui等でエラーが発生する.

参考サイト

(PyPI) https://pypi.python.org/pypi/PySide#installing-pyside-on-a-mac-os-x-system

5
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
5