Install Python and Thonny separately
If there is no Thonny+Python bundle for your operating system or you can't or don't want to use it, you can first install Python (or use your existing Python) and then install Thonny in the context of this Python installation.
- Install Python 3.4 or later (or choose an existing installation).
- Install Thonny package with pip using your operating system command line.
- Run Thonny package.
Mac OS X
If you don't have Python 3.4 or later installed, then go to https://www.python.org/downloads/mac-osx/ and install latest Python 3.5 from there.
For installing Thonny as package, you need to go to system command line and execute something like pip install thonny, but you need to make sure command pip is related to correct Python installation.
For opening system command line:
- open Finder
- from the menu choose Go => Utilities
- open "Terminal"
Assuming you are using official Python 3.5 distribution, paste following into Terminal and press ENTER:
/Library/Frameworks/Python.framework/Versions/3.5/bin/pip3.5 install thonny
You should see something like this:
Now you can run Thonny with following command:
/Library/Frameworks/Python.framework/Versions/3.5/bin/python3.5 -m thonny
Updating Tcl/Tk (optional). Thonny relies on something called Tcl/Tk. Your Python installation may use too old Tcl/Tk version, which means you may see Thonny crashing too often or doing weird things. (Python's IDLE has similar problems, see https://www.python.org/download/mac/tcltk). The solution is to install newer version. Go to http://www.activestate.com/activetcl/downloads and download and install the latest 8.5 version of ActiveTcl. (Most likely your Python is linked with Tk 8.5. If IDLE-s about dialog says it uses 8.6, then you probably don't have these problems, but you may install latest ActiveTcl 8.6 anyway)