Python wrapper for the Fast Light Toolkit pyFLTK

SourceRPILinuxMacosWindows

Installation:

Windows

Windows install

Preferred install method is to use pip to install pyFltk from PyPi

First install Python

  1. Note which versions of Python have prebuilt wheel packages on PyPI
  2. Download a supported version of 64-bit Python installer for Windows from https://www.python.org/downloads/windows/
  3. After downloading Python, right click the .exe file and choose Run as Administrator
  4. Check the Add Python to PATH box
  5. Click Custom Installation
  6. Click Install for all users

Next install pyFltk

  1. Open a command prompt (search "cmd") or Powershell
  2. Type the command: pip install pyfltk

MacOS

These instructions have been tested on both Apple Intel 64bit cpus and Apple Silicon Mx cpus.

  1. Goto the Brew.sh website and follow instructions to install the Homebrew package manager
  2. Note which versions of Python have prebuilt wheel packages on PyPI
  3. Download and install a supported version of Python for macOS
  4. https://www.python.org/downloads/macos/
  5. Install C++ FLTK 1.4, in a terminal run the command brew install fltk
  6. Install pyFltk, in a terminal run the command pip3 install pyfltk

Linux

Installing on Ubuntu/Debian Linux using apt package manager

  1. sudo apt install python3-fltk

Installing on Arch Linux from the AUR repository

  1. yay -S python-pyfltk

Building pyFltk from latest source code:

  1. git clone https://git.code.sf.net/p/pyfltk/git-code pyfltk-git-code
  2. cd pyfltk-code/pyfltk/
  3. Follow instructions in the INSTALL file