Version 5.0.12026-10-28
Thonny 5.0.1 是一版过渡性修复更新:原计划的新功能推迟到版本 6,主版本号提升只因内置依赖升级。macOS 与 Windows 包内置 Python 升至 3.14.10,Tk 从 8.6.17 升到 9.0.4,修掉了 macOS 27 上对话框卡死(#3934),以及一批 Unicode、表情符号相关问题(如查找替换 #3925)。另修复插件管理器在 5.0.0 中因 NameError: name 'req' is not defined 导致的崩溃(#3932),ESP MicroPython 本地镜像安装恢复可用(#3903),并升级了若干依赖。安装包改为分平台发布:Windows 有 x64(仅支持 64 位 Win10/11)与 Arm 版,macOS 分 Intel 与 Apple silicon 版(最低 10.15),Linux 不再提供二进制包,改用 thonny-5.0.1.bash 借助系统 Python 建 venv 安装。由于要求 esptool 5.0(即 Python 3.10),Windows 7/8 彻底不再支持。建议先卸载 Thonny 4 再装,启动报错时在右下角重新选择解释器。
Version 5.0.02026-04-25
Thonny 5 是一次过渡性更新:原定新功能推迟到 v6,本版主要为兼容更新的 Python——内置 Python 升至 3.14,并支持 3.11 到 3.15
Version 5.0.0b1预发布2026-04-11
🇺🇦 Thonny 5 is dedicated to Ukraine fighting the Russian invasion. Please support Ukraine! 🇺🇦
Thonny 5 was originally planned to include many new features, but because they are taking longer than expected, we are releasing version 5 as an intermediate bug-fix release, mainly to add compatibility with newer Python versions. The major version number has been increased only because of dependency upgrades in the bundles. All new features have been moved to the version 6 milestone.
Installation instructions
NB! It is recommended to uninstall Thonny 4 before installing Thonny 5. Also note that you may get an error when you start up new Thonny as your previous configuration referred to the Python executable in another location. In this case click on the button in the lower-right corner of Thonny's window and select new interpreter.
Windows
The main Windows installer (thonny-5.0.0b1-x86_64.exe) is 64-bit and comes with Python 3.14 -- this means it is suitable only for 64-bit Windows 10 and 11. Installers for Windows 7, 8 and 32-bit Windows 10 are not published anymore, but you can install an older Python version and Thonny separately.
Since 5.0 we publish a separate installer for Windows on Arm.
macOS
Since 5.0 we publish separate installers for Intel and Apple silicon Macs (M1, M2, etc) -- thonny-5.0.0b1-x86_64.pkg and thonny-5.0.0b1-arm64.pkg. The minimum supported macOS version for these installers is 10.15 (Catalina), but you can install an older Python version and Thonny separately on older macOS-s.
Linux
Since 5.0 we don't publish binary bundles for Linux anymore. Instead use thonny-5.0.0-b1.bash which uses your system Python and creates a venv for installing Thonny and its dependencies.
NB! ~/apps/thonny/bin/thonny is broken in this release, use the generated desktop launcher or ~/apps/thonny/bin/python -m thonny for launching.
Changes since 4.1.7
Breaking changes
----------------
Upgrade bundled Python version to 3.14. This means the Windows installer now requires at least Window 10 and macOS installer requires at least Catalina!** Python 3.8 is still supported, so in principle you can use this version in Windows 7, but you wouldn't gain much over 4.1.7.
Stop publishing binaries for Linux, #3210. The Linux installation script now creates a private venv (based on system python3) for Thonny even in x8464.
* Stop publishing XXL bundle as it is not trivial to prepare bundles for all popular architectures while making sure there are no version conflicts between the large number of packages. For teachers who relied on the XXL bundle, the work-around is to prepare a suitable requirements.txt, which can be used as input in Thonny's package manager.
* Start publishing separate installers for Intel and Arm Macs.
* Stop publishing installers for 32-bit Windows.
* Start publishing installers for Arm-Windows.
* "For all users" installation in Windows now ends up in "C:\Program Files" instead of earlier "C:\Program Files (x86)"
Other changes and fixes
-----------------------
* By default, Tk file dialogs are now used instead of Zenity in Linux (uncheck "Tools => Options => Use Tk file dialogs instead of Zenity" to revert this choice)
* Add support for Python 3.11, 3.12, 3.13, 3.14, 3.15 (#3213, #3577, #3799, #2739, #3744 by @mkluson, #3082, #3729, #3552 by @plexus)
* Fix macOS crash when opening package selection dialog
* Check if in virtual environment on boot, #3112 by @scottfp
* Add Python coloring for pyx-files, #3450
Use subprocess.CREATENO_WINDOW when creating subprocess in Windows, #2817, tipped by @Damian-2001
* Allow stopping auto-scroll in Shell by scrolling up, #1988
* Get rid of a find-replace warning, #3593
* Add support for newer setuptools versions
* Add support for newer Tkinter versions (#3744 by @mkluson)
* Upgrade several bundled dependencies (Pylint, Mypy, esptool, etc.)
Add Arabic, Bulgarian, Hindi, Indonesian, Icelandic and Malayalam translation. Update several other translations. Thanks for all contributors! Please see https://poeditor.com/projects/view?id=256075 for credits! Please note that Thonny's maintainers have not reviewed the translations!*
Version 4.1.72024-12-16
Thonny 4.1.7 主要是一轮修补。PyPI 包搜索修好了,但行为有变:搜索结果现在只基于最热门的 5000 个包,想装冷门包必须输入完整包名,别指望模糊匹配。esptool 对话框新增 ESP32-C6 系列选项,内置的 esptool 也一并升级;Linux 版补上了此前缺失的 dbus-next 依赖,Flathub 的 appdata 元数据同步更新。
安装包选择上留意一下:Windows 默认的 thonny-4.1.7.exe 是 64 位、内置 Python 3.10,只支持 64 位的 Windows 8.1/10/11;Windows 7/8 或 32 位系统改用 thonny-py38-4.1.7.exe(Python 3.8)。macOS 的 thonny-4.1.7.pkg 为 Universal2 构建,Intel 与 Apple Silicon 通吃。Linux 的 thonny-4.1.7.bash 在 x86_64 机器上会下载自带 Python 3.10 的压缩包,其他平台则调用系统 python3 建虚拟环境来装。
Version 4.1.62024-09-11
Thonny 4.1.6 发布。相比 4.1.4,这一版集中修复了几个影响日常使用的问题:窗口最小化后对话框卡死(#3068)、从本地文件安装包失败、PyPI 元数据中的空值导致部分包装不上,以及对 MicroPython 代码的插桩过于激进(#3043)。macOS 安装包现在能在 Sequoia 上正常运行(#3283),并补上了若干 entitlements,用到摄像头、麦克风的程序或许不再受限。另外更新了若干依赖,界面语言也有新增与修订。
安装包方面:Windows 默认提供 64 位版本(内置 Python 3.10),Windows 7/8 或 32 位系统请改用 thonny-py38-4.1.6.exe;macOS 的 thonny-4.1.6.pkg 是 Universal2 构建,Intel 与 Arm 通用;Linux 用 thonny-4.1.6.bash 脚本安装,非 x86_64 平台会基于系统 Python 3 建虚拟环境。需留意:4.1.5 只发到了 PyPI,没有二进制包。
Version 4.1.42023-11-19
Thonny 4.1.4 是一次修复为主的更新。主要解决了 MicroPython 包安装的回归问题(#2979),此前 4.1.3 引入的改动导致该功能无法正常工作。远程虚拟环境下的包安装也一并修复。针对 Python 外部管理环境(externally managed environment)报错信息做了优化,现在给出更清晰的提示,方便用户理解原因。另外更新了树莓派设备的检测逻辑,屏蔽了 Pylint 3 输出的无意义 "bad-option-value" 告警。
安装包方面:Windows 默认安装包为 64 位、内置 Python 3.10,适用于 Win 8.1/10/11;Windows 7、8 及 32 位系统需改用 thonny-py38-4.1.4.exe(Python 3.8)。macOS 的 pkg 包为 universal2 构建,Arm 和 Intel 芯片通用。Linux 提供安装脚本,x86_64 平台自动下载内置 Python 的压缩包,其他平台则基于系统 python3 创建虚拟环境安装。
Version 4.1.32023-09-29
Thonny 4.1.3 是一个修复版本,主要解决几处影响日常使用的毛病:macOS 上首次启动会崩溃的问题(#2860)已修复;便携版此前无法正常升级和卸载(#2902),现在可以了;esptool 烧录器给 ESP32-S2 设备报错起始地址的问题也一并修掉(#2920)。另外有个挺烦人的交互 bug:程序等待输入时,用户在编辑器里敲左括号,光标会莫名跳到 Shell 窗口(#2834),这版也处理了。语言方面新增加泰罗尼亚语,并更新了德、法、葡、罗马尼亚语翻译。安装包仍按平台区分:Windows 默认提供 64 位版(自带 Python 3.10),老系统可选 32 位的 thonny-py38-4.1.3.exe;macOS 的 thonny-4.1.3.pkg 为 universal2,兼容 Apple Silicon 与 Intel 机型。
Version 4.1.22023-08-11
🇺🇦 Thonny 4 is dedicated to Ukraine fighting the Russian invasion. Please support Ukraine! 🇺🇦
Installation instructions
Windows
Default Windows installer (thonny-4.1.2.exe) is 64-bit and comes with Python 3.10 -- this means it is suitable only for 64-bit Windows 8.1, 10 and 11. For Windows 7, 8 and for 32-bit Windows 10 use thonny-py38-4.1.2.exe which comes with 32-bit Python 3.8.
macOS
thonny-4.1.2.pkg contains universal2 build of Python 3.10 -- this means it is suitable for both Arm (M1, M2) and Intel Macs.
Linux
thonny-4.1.2.bash is a script, which downloads and installs thonny-4.1.2-x8664.tar.gz (with Python 3.10) when run on x8664 machines. On other platforms it tries to use system python3 (creates a virtual environment for Thonny and installs thonny and its dependencies there).
Changes since 4.1.1
* Avoid repetitive attempts to restart backend after connection gets lost during a Run (#2836)
* Automatically hide tooltips if window loses focus, #2607
* Import optional deps with augmented sys.path, fixes problems with importing plug-ins (#2816)
* Don't leak main site-packages to virtual environment's sys.path, #2867
* Fix Assistant error with relative imports, #2873
* Don't attempt to save unchanged editor at run, #2804
* Fix MicroPython upload errors by more conservative back-end isolation, #2016, #2851, #2864. Many thanks to @chechigp for patience and help!
* Fix MicroPython code completions by fixing packaging of base MicroPython stubs, #2895
* Fix various completion failures by reverting a jedi hack (67f2c120)
* Avoid duplicate MicroPython completions when a module is already imported (852308fd)
* Update Persian, Italian, Japanese, Brazilian Portuguese and Chinese translations (see POEditor for contributions)
Version 4.1.12023-06-11
Thonny 4.1.1 是一个修正版本,主要处理安装和界面细节:修复了当用户模块与库模块重名时的误报警告,解决 ESP 烧录对话框中无法从本地文件安装的问题,AppData 里预发布版本号改用波浪线分隔以避免路径解析出错,简单模式的初始宽度也调大了。意大利语翻译取得较大进展,繁中与英式英语译文同步更新。
安装包方面注意区分:Windows 默认安装包已是 64 位并内置 Python 3.10,仅支持 64 位的 Windows 8.1/10/11;Windows 7、8 及 32 位系统请改用 thonny-py38-4.1.1.exe(内置 32 位 Python 3.8)。macOS 的 pkg 为 universal2 构建,M1/M2 与 Intel 通用;Linux 运行安装脚本后,x86_64 机器会自动下载带 Python 3.10 的包,其他平台则基于系统 Python 3 创建虚拟环境安装。
Version 4.1.02023-06-03
🇺🇦 Thonny 4 is dedicated to Ukraine fighting the Russian invasion. Please support Ukraine! 🇺🇦
Installation instructions
Windows
Default Windows installer (thonny-4.1.0.exe) is now 64-bit and comes with Python 3.10 -- this means it is suitable only for 64-bit Windows 8.1, 10 and 11. For Windows 7, 8 and for 32-bit Windows 10 use thonny-py38-4.1.0.exe which comes with 32-bit Python 3.8.
macOS
thonny-4.1.0.pkg contains universal2 build of Python 3.10 -- this means it is suitable both for Arm (M1, M2) and Intel Macs.
Linux
thonny-4.1.0.bash is a script, which downloads and installs thonny-4.1.0-x8664.tar.gz (with Python 3.10) when run on x8664 machines. On other platforms it tries to use system python3 (creates a virtual environment for Thonny and installs thonny and its dependencies there).
Changes since 4.0.2
New
* Enhance esptool GUI (propose known MicroPython and CircuitPython downloads; allow setting baud rate and start address; allow querying device info), #2707, #1600, #2536, #1171, #2657
* Ensure Thonny's backends don't get confused by other installations, #2616
* Detect and warn if user module is shadowing a library module, #384
* Make serial port description in interpreter selection menu more descriptive
Added ptBR translation for all help pages, #2673, by @mgmalheiros
* Add Pololu MicroPython downloads to UF2 flasher
* Use UDisks to find mounted filesystems on Linux, #2683 by jwillikers
Fixes
* Fix a potential autocompletion error, #2162
* Experiment with better MicroPython raw paste fallback, #2624
* Fix sys.sdtout.write return value, #2629
* Remove unnecessary shebangs, #2645
* Add option for saving unnamed editors before Run/Debug, #2619
* Fix blank editors in macOS, again, #2425
* Fix todo view, #2681, by @kr-g
* Minor corrections for English help pages, #2674, by @mgmalheiros
* Upgrade bundled esptool from 4.4 to 4.5
* Allow Linux installer to use existing Python 3.11 and 3.12, #2676
* Require saving before using fast debugger, #2699, by @michaellass
* Add missing translation sites in editors.py, #2705 by @nicolasdespres
* Restore MicroPython completions in the shell, #2467, #2419
Don't use deprecated FLASKENV environment variable.
* Add better shortcut for increasing font size in macOS, #2725
* Avoid falling back to Python menu in simple mode on macOS, #2729
* Various improvements to "Kind of Aqua" UI theme, #2760
* Fix double paste with Command-V when CapsLock on, #2753
* Fix Cut with Command-X when CapsLock on, #2753
Bundled dependency changes
* Upgrade bundled Python from 3.10.9 to 3.10.11
* Upgrade bundled Tk from 8.6.12 to 8.6.13
* Upgrade bundled Pylint from 2.15 to 2.17
* Upgrade bundled MyPy from 0.991 to 1.2
Changes since 4.1.0b1
* Fix MicroPython config page regression introduced in 4.1.0b1 (#2724, #2763)
* Fix remote Python 3 (SSH) connection error (regression introduced in 4.1.0b1)
* Fix code completion shortcut displayed in macOS menu
* Add command "Show esptool version" for ESP flasher
* Don't disconnect for ESP flasher commands which don't touch the device
* Close tab on middle click (#2767) by @mrexodia
* Make package manager support new micropython-lib index (#2777)
* Report macOS version instead of Darwin version in the About box
* Implement more flexible Raspberry Pi detection
* Enable thonny to open and save files with zenity 3.91+ (#2786) by @befeleme
Make dbusnext dependency optional (#2771)
* Recognize ESP32 as possible CircuitPython device
* Add menu indicator for back-end switcher
* Allow WebREPL for RP2040 backend (experimental)
* Use correct MicroPython start address (0x0 instead of 0x1000) when flashing ESP32-S3
* Recognize ESP32 devices by VID 0x303A
* Don't show irrelevant ports in port selector (e.g. /dev/cu.Bluetooth-Incoming-Port)
* Allow setting --flash-size in ESP flasher, #2801
* Rename "Raspberry Pi" initial settings to "Raspberry Pi (simple)"
* Update several translations
Add enGB translation
* Attempt to overcome "window was deleted before its visibility changed" error
* Fix pipkin directory creation in paste mode (e.g. package installation via WebREPL)
* Upgrade bundled websockets, paramiko, docutils, mypy, Send2Trash, esptool to latest versions