You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Python 3.11 build on Ubuntu 18.04 reports checking for stdlib extension module _tkinter... missing even if all necessary packages are installed. This does not happen on Ubuntu 20.04, the difference that I noticed is that 20.04 packages include .pc files for pkg-config while on 18.04 they are not.
Installed packages on 18.04:
ii libtcl8.6:amd64 8.6.8+dfsg-3 amd64 Tcl (the Tool Command Language) v8.6 - run-time library files
ii tcl 8.6.0+9 amd64 Tool Command Language (default version) - shell
ii tcl-dev:amd64 8.6.0+9 amd64 Tool Command Language (default version) - development files
ii tcl8.6 8.6.8+dfsg-3 amd64 Tcl (the Tool Command Language) v8.6 - shell
ii tcl8.6-dev:amd64 8.6.8+dfsg-3 amd64 Tcl (the Tool Command Language) v8.6 - development files
# dpkg -l | grep tk
ii libtk8.6:amd64 8.6.8-4 amd64 Tk toolkit for Tcl and X11 v8.6 - run-time files
ii tk 8.6.0+9 amd64 Toolkit for Tcl and X11 (default version) - windowing shell
ii tk-dev:amd64 8.6.0+9 amd64 Toolkit for Tcl and X11 (default version) - development files
ii tk8.6 8.6.8-4 amd64 Tk toolkit for Tcl and X11 v8.6 - windowing shell
ii tk8.6-blt2.5 2.5.3+dfsg-4 amd64 graphics extension library for Tcl/Tk - library
ii tk8.6-dev:amd64 8.6.8-4 amd64 Tk toolkit for Tcl and X11 v8.6 - development files
Dockerfile, RUN ./configure eventually prints that _tkinter and _uuid are missing
FROM ubuntu:18.04
ENV DEBIAN_FRONTEND=noninteractive
WORKDIR /python
RUN apt update
RUN apt install --yes software-properties-common wget tar
RUN add-apt-repository --yes --update --enable-source ppa:deadsnakes
RUN apt-get build-dep --yes python3.11
RUN wget https://www.python.org/ftp/python/3.11.0/Python-3.11.0.tar.xz
RUN tar xvf Python-3.11.0.tar.xz
WORKDIR /python/Python-3.11.0
RUN ./configure
ENTRYPOINT /bin/bash
Your environment
CPython versions tested on: 3.11.0
Operating system and architecture: Ubuntu 18.04.6 amd64
Bug report
Python 3.11 build on Ubuntu 18.04 reports
checking for stdlib extension module _tkinter... missingeven if all necessary packages are installed. This does not happen on Ubuntu 20.04, the difference that I noticed is that 20.04 packages include.pcfiles for pkg-config while on 18.04 they are not.Installed packages on 18.04:
Dockerfile,
RUN ./configureeventually prints that _tkinter and _uuid are missingYour environment