Help us understand the problem. What is going on with this article?

Mac OS X Marvericks (10.9.2)にhomebrewでPyQt5をインストールする

More than 5 years have passed since last update.

はじめに

PyQtとは,Digia社(かつてはNokiaでしたが,2012/8/9にDigiaに売却)のQtアプリケーションフレームワークのPythonバインディングです.PyQt5は,Qt v5のサポートになります.

本ページでは,2014年3月時点で最新版のMac OS X Marvericks (10.9.2)に対して,homebrewを使ってPyQt5をインストールする手順を紹介します.

インストール手順

# 1. PyQt5 の依存である sip をインストール
brew install sip

# 2. PyQt5 を python2.7 でビルド,インストール (python3 だとエラーになります)
brew install pyqt5 --with-python --without-python3

# 3. PYTHONPATH の追加
export PYTHONPATH=/usr/local/lib/python2.7/site-packages:$PYTHONPATH
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした