LoginSignup
8
11

More than 3 years have passed since last update.

Tkinter インストール(homebrew)

Last updated at Posted at 2017-05-09

こんにちは。
tcl-tk をインストールし、Python で Tkinter を動かしてみました。

$ brew install tcl-tk
$ brew install python --with-tcl-tk
$ python -c "import Tkinter; print Tkinter.__version__"
$Revision: 81008 $
$
$ brew install python3 --with-tcl-tk
$ python3 -c "import Tkinter; print(Tkinter.__version__)"
$Revision: 81008 $

なお「Mac OS X 10.11.3 (El Capitan) + pyenv + Python 3.5.1でimport tkinterできない時」という記事もあります。

8
11
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
8
11