Installation on macOS

These instructions are for installing Tktable yourself, with pip install pytktable. With pip install "pytktable[binary]", you don’t need them: see With prebuilt Tktable (recommended).

Install Tktable

First, make sure that your Python has a working tkinter (Check tkinter first). Then, with MacPorts, install Tktable (version 2.11):

sudo port install tktable

conda also has Tktable.

If tkinter doesn’t work with a Python built by pyenv or Homebrew, see Troubleshooting.

Check the installation

python -m tktable

Tktable in a non-standard location

Set TKTABLE_LIBRARY, e.g.:

TKTABLE_LIBRARY=/opt/local/lib/Tktable2.11 python -m tktable