macOS
Install pyFltk for macOS
Easy method using pip3
- Goto Finder -> Applications -> Utilities. Then launch Terminal app
- Install command line tools by typing the following command into your terminal
xcode-select --install- Open a browser and goto brew.sh website
- Install the Homebrew package manager for macOS by pasting the Install Homebrew line on the homepage into your terminal.
- Once Homebrew is installed, then install the fltk package with the following command:
brew install fltkMacOS does not ship with a full Python installation. So you will need to download and install the latest Python 3 64-bit installer from python.org website. Choose one from the last four stable releases.
Finally, install pyFltk with the following command:
pip3 install pyfltk- To test installation, open a new terminal, run the python interpreter and issue the command import fltk inside the python interpreter. If you get no errors then it was successful.