🌐
Debian
packages.debian.org › bullseye › python3
Debian -- Informationen über Paket python3 in bullseye
This package is a dependency package, which depends on Debian's default Python 3 version (currently v3.8).
🌐
Debian
packages.debian.org › bullseye › python-is-python3
Debian -- Details of package python-is-python3 in bullseye
This is a convenience package which ships a symlink to point the /usr/bin/python interpreter at the current default python3. It may improve compatibility with other modern systems, whilst breaking some obsolete or 3rd-party software.
🌐
Home Assistant
community.home-assistant.io › community guides
Home Assistant Core - Python 3.10 backport for Debian 11 bullseye - Community Guides - Home Assistant Community
June 2, 2023 - My previous backport was a huge success with thousands of downloads and was also used in some other projects beside Home Assistant. This time I have backported Python 3.10 for Debian 11 bullseye. I am pretty sure there are still plenty of people (like me) who are using Home Assistant Core on ...
🌐
Raspberry Pi Forums
forums.raspberrypi.com › board index › programming › python
Python 3.9 Bullseye - Raspberry Pi Forums
FYI - The official 'Bullseye' release of RPi OS contains Python 3.9.2 Python 2.7 is not installed by default but can be installed with apt.
🌐
Raspberry Pi Forums
forums.raspberrypi.com › board index › using the raspberry pi › advanced users
Bullseye python3 version - Raspberry Pi Forums
I just downloaded the source for the current release (3.9.5) from here: https://www.python.org/downloads/source/ and built it (which is simple, and very quick on a Pi4).
🌐
Qtpyvcp
qtpyvcp.com › install › bullseye.html
Debian 11 (Bullseye) install for Python 3 — QtPyVCP 5.1.0
Debian 11 (Bullseye) install for Python 3 · View page source · This installation method should be used if you want to run the latest version of QtPyVCP under Python 3 and LinuxCNC 2.9pre.
Find elsewhere
🌐
Piwheels
blog.piwheels.org › python-3-9-wheels-for-bullseye
piwheels blog - Python 3.9 wheels for Bullseye
Debian 11 (Bullseye) is due to be released shortly is now released, and Raspberry Pi OS will follow suit is also released. Bullseye comes with Python 3.9, so we needed to rebuild all platform wheels for the new ABI. We've added a Bullseye column ...
🌐
Medium
medium.com › @anuj.sadani › understanding-python-docker-images-bullseye-bookworm-and-trixie-e68508876a93
Understanding Python Docker Images: Bullseye, Bookworm, and Trixie | by Anuj Sadani | Medium
August 24, 2025 - But what do Bullseye, Bookworm, and Trixie mean? 🤔 They aren’t random, they are Debian release codenames, and they define the Linux base your Python container runs on.
🌐
Debian
packages.debian.org › bullseye › python
Debian -- Software Packages in "bullseye", Subsection python
/ Packages / bullseye / python · 2to3 (3.9.2-3) 2to3 binary using python3 · afew (3.0.1-1) Tagging script for notmuch mail · alembic (1.4.3-1) lightweight database migration tool for SQLAlchemy · androguard (3.4.0~a1-1) full Python tool to play with Android files ·
🌐
Python.org
discuss.python.org › python help
Python 3.12 build on Raspberry Pi 4 Bullseye - Python Help - Discussions on Python.org
October 7, 2023 - Running Debian GNU/Linux 11 (bullseye), downloaded source and ran ./configure --enable-optimizations which seemed ok. However make -j4 fails towards the end with missing modules: make[1]: Entering directory '/home/pi/Python-3.12.0' The necessary bits to build these optional modules were not ...
Top answer
1 of 2
1

I'm struggling to get tkinter working with Python 3.13.0 myself on Linux Mint 22.

Tkinter is working fine with Python 3.12.3 (default from the Synaptic package manager).

I followed the instructions at How to install Python 3.13.0 from source.

$ python3.13
    Python 3.13.0 (main, Oct 25 2024, 20:06:35) [GCC 13.2.0] on linux
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import tkinter
    Traceback (most recent call last):
      File "<python-input-0>", line 1, in <module>
        import tkinter
      File "/usr/local/lib/python3.13/tkinter/__init__.py", line 38, in <module>
        import _tkinter # If this fails your Python may not be configured for Tk
        ^^^^^^^^^^^^^^^
    ModuleNotFoundError: No module named '_tkinter'

The main reason I'm doing this is because 3.13.0 has a problem on Windows 3.13.0 tkinter versus venv in windows 10, and I wanted to test it on Linux.

There is a really informative post here: Why does tkinter (or turtle) seem to be missing or broken? Shouldn't it be part of the standard library? by Karl Knechtel, which I thought you might like to see.

Another command I have come across that might help is sudo apt-get install python3.13-tk. This package is not available in the LM repository, but I'll add the Ubuntu PPA and try it later. The LM repository has a python3-tk package, but it has not yet been updated for Python 3.13.0.

There's also a nice video at How to install the latest Python version ( Python3.13 ) on Ubuntu 24.04

No guarantees, I'm just making suggestions at this stage.

2 of 2
0

In the bullseye raspberry pi repository:

Regarding Question 1:

Question 1: Why is there available both tk-dev and tk8.6-dev? Are both v. 8.6?

Both tk-dev and tk8.6-dev are version 8.6. It seems that tk8.6-dev is a later version, unless I'm reading that wrong?

tk-dev/oldstable 8.6.11+1 arm64
  Toolkit for Tcl and X11 (default version) - development files

tk8.6-dev/oldstable 8.6.11-2 arm64
  Tk toolkit for Tcl and X11 v8.6 - development files

More helpful details are documented at

https://tracker.debian.org/pkg/tk8.6

verifying that version 8.6.11-2 is indeed stable, even though not the very latest stable version (which is 8.6.13-2).

And this from

https://www.tcl.tk/software/tcltk/8.6.html

-----------------------

Latest Release: Tcl/Tk 8.6.15 (Sep 13, 2024)

First released in 2012, Tcl/Tk 8.6.* is the current supported series of releases.

-----------------------

So, 8.6.15-1 is latest but undergoing testing and still considered unstable.

Therefore, I will not use the tk-dev, but instead will get the tk8.6-dev and tcl8.6-dev from the default pi bullseye repository, before building any future python 3.12.5 or greater. In case I find it helpful to ask the raspberry pi folks for further support, I am sticking with their repository versions of these libraries rather than getting the absolute latest from www.tcl.tk. I may change my position on this after some testing and further research.


edit - see also comment @acw1668 thank you for steering me to looking into what is an apt meta package.

https://installati.one/install-tk-dev-debian-12

then made it clear that it is tk-dev that I should install with apt, which will take care of all the packages I was actually considering that I might need to install for my particular tkinter projects, including tk8.6-dev.

That link detailed all the packages I was thinking I might, and probably should install. Although it did not go into detail of what each contributes to the final functionality, it was enough to conclude that it is the tk-dev metapackage that will be my dependency solution.


Regarding Question 2:

Question 2: Can you detail anything I might be missing in this plan, or anything that I do not need to install before the make altinstall of python 3.13, for ensuring full tkinter 8.6 support in python 3.13?

Question 3: (ammended)

I intend to access and play audio files using the final tkinter project. Does anyone have helpful remarks on needed libraries, before the python 3.12.x or python 3.13.x build, that might be needed to ensure full robust audio support specifically in a tkinter project? I can submit this as a separate question if you think that more appropriate for clarity.

Thank you for your thoughts on these matters.

🌐
MAC Address Lookup
aruljohn.com › home › articles › tech
How to Install Python 3.12.5 on Debian 11 bullseye
December 10, 2024 - Now, check if Python 3.12 is pointing to the 3.12.5 that we just installed. $ ls -al /usr/local/bin/python3.12 -rwxr-xr-x 1 root root 36345608 Aug 8 08:58 /usr/local/bin/python3.12 $ /usr/local/bin/python3.12 -V Python 3.12.5