LoginSignup
0
0

More than 5 years have passed since last update.

[メモ] LinuxMint(Ubuntu)にwxPython3.xをインストールする

Last updated at Posted at 2016-06-04

LinuxMint(Ubuntu)を使用していますが、aptだとwxpythonのvsersionが2.8.xまでしかインストールできません。
wxpython3.xのインストール方法のメモです。

  • 事前に必要なパッケージをapt-get install
$ sudo apt-get install dpkg-dev build-essential python2.7-dev libwebkitgk-dev libjpeg-dev ligtiff-dev libgtk2.0-dev libsdl-dev libgstreamer-plugin-base0.10-dev libnotify-dev freeglut3 freeglut3-dev
  • wxpython3.x のリポジトリをclone
$ git clone https://github/wxWidgets/Phoenix
  • Phoenixディレクトリで以下をを実行
$ cd Phoenix
$ git submodule init
$ git submodule update
$ sudo python build.py dox etg --nodoc sip build
  • 確認
$ python
>>> import wx
>>> wx.version()
'3.0.3 gtk2 (phoenix)'

今度はwxPythonでオセロを作ろうと思います。

0
0
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
0
0