Skip to content

python3.14 nogil free threading #8

Description

@kr-g

following the steps to install python3.14 nogil (free threading) under linux:

sudo -i 

add-apt-repository ppa:deadsnakes
apt-get update
apt-get install python3.14-nogil

apt-get install python3.14-venv
apt-get install python3.14-tk

return to user bash: (control+d)

python3.14-nogil -m ensurepip --upgrade

python3.14-nogil -m venv .nogil
source .nogil/bin/activate

pip install --upgrade pip

running python then from bash and importing tkinter

python3.14-nogil

import tkinter

following error message is thrown ==>

Traceback (most recent call last):
  File "/usr/lib/python3.14/tkinter/__init__.py", line 39, in <module>
    import _tkinter
ModuleNotFoundError: No module named '_tkinter'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<python-input-0>", line 1, in <module>
    import tkinter
  File "/usr/lib/python3.14/tkinter/__init__.py", line 41, in <module>
    raise ImportError(str(msg) + ', please install the python3-tk package')
ImportError: No module named '_tkinter', please install the python3-tk package


Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions