LoginSignup
3
2

More than 3 years have passed since last update.

python 2.7, 3.6 にQt for Python(旧pyside2)をインストール

Last updated at Posted at 2018-04-29

自分用のメモです。

  • まずpython2.7もしくは、 3.6 共に64bit版をインストール
    • Widows版Pyside2は64bit版しかないもよう。。。
  • pythonのバージョンを複数入れている場合は、Pyside2をインストールしたいバージョンのフォルダに移動し、以下のコマンドを実行します(embedバージョンにもこの方法でOK)
    • python.eye -m pip install --index-url=http://download.qt.io/snapshots/ci/pyside/5.9/latest/ pyside2 --trusted-host download.qt.io
    • 下のエラーメッセージが出たら、"python -m pip install --upgrade pip"と入力しpipのバージョンを上げる
      • You are using pip version 9.0.3, however version 10.0.1 is available.
  • pipのバージョンアップが完了したら、もう一度pyside2インストールのコマンドを入力し、終了

参考サイト
公式サイト
* https://wiki.qt.io/Qt_for_Python_GettingStarted

3
2
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
3
2