Title: 3.11 build reports missing _tkinter on Ubuntu 18.04 · Issue #98973 · python/cpython · GitHub
Open Graph Title: 3.11 build reports missing _tkinter on Ubuntu 18.04 · Issue #98973 · python/cpython
X Title: 3.11 build reports missing _tkinter on Ubuntu 18.04 · Issue #98973 · python/cpython
Description: Bug report 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...
Open Graph Description: Bug report 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...
X Description: Bug report 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...
Opengraph URL: https://github.com/python/cpython/issues/98973
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"3.11 build reports missing _tkinter on Ubuntu 18.04","articleBody":"# Bug report\r\n\r\nPython 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.\r\n\r\nInstalled packages on 18.04:\r\n```\r\nii libtcl8.6:amd64 8.6.8+dfsg-3 amd64 Tcl (the Tool Command Language) v8.6 - run-time library files\r\nii tcl 8.6.0+9 amd64 Tool Command Language (default version) - shell\r\nii tcl-dev:amd64 8.6.0+9 amd64 Tool Command Language (default version) - development files\r\nii tcl8.6 8.6.8+dfsg-3 amd64 Tcl (the Tool Command Language) v8.6 - shell\r\nii tcl8.6-dev:amd64 8.6.8+dfsg-3 amd64 Tcl (the Tool Command Language) v8.6 - development files\r\n\r\n# dpkg -l | grep tk\r\nii libtk8.6:amd64 8.6.8-4 amd64 Tk toolkit for Tcl and X11 v8.6 - run-time files\r\nii tk 8.6.0+9 amd64 Toolkit for Tcl and X11 (default version) - windowing shell\r\nii tk-dev:amd64 8.6.0+9 amd64 Toolkit for Tcl and X11 (default version) - development files\r\nii tk8.6 8.6.8-4 amd64 Tk toolkit for Tcl and X11 v8.6 - windowing shell\r\nii tk8.6-blt2.5 2.5.3+dfsg-4 amd64 graphics extension library for Tcl/Tk - library\r\nii tk8.6-dev:amd64 8.6.8-4 amd64 Tk toolkit for Tcl and X11 v8.6 - development files\r\n```\r\n\r\nDockerfile, `RUN ./configure` eventually prints that _tkinter and _uuid are missing\r\n```dockerfile\r\nFROM ubuntu:18.04\r\nENV DEBIAN_FRONTEND=noninteractive\r\n\r\nWORKDIR /python\r\nRUN apt update\r\nRUN apt install --yes software-properties-common wget tar\r\nRUN add-apt-repository --yes --update --enable-source ppa:deadsnakes\r\nRUN apt-get build-dep --yes python3.11\r\nRUN wget https://www.python.org/ftp/python/3.11.0/Python-3.11.0.tar.xz\r\nRUN tar xvf Python-3.11.0.tar.xz\r\n\r\nWORKDIR /python/Python-3.11.0\r\nRUN ./configure\r\nENTRYPOINT /bin/bash\r\n```\r\n\r\n# Your environment\r\n\r\n\u003c!-- Include as many relevant details as possible about the environment you experienced the bug in --\u003e\r\n\r\n- CPython versions tested on: 3.11.0\r\n- Operating system and architecture: Ubuntu 18.04.6 amd64\r\n\r\n\u003c!--\r\nYou can freely edit this text. Remove any lines you believe are unnecessary.\r\n--\u003e\r\n","author":{"url":"https://github.com/vient","@type":"Person","name":"vient"},"datePublished":"2022-11-01T19:42:54.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":13},"url":"https://github.com/98973/cpython/issues/98973"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:298d82a3-38fb-7fca-365e-8310e8c87663 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C004:16E0FE:1DF8B09:29DB4AB:696A5601 |
| html-safe-nonce | 684f53e132fcb830bd6ef1a87953c517c844ac35e8433293cedee7244ed506e8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMDA0OjE2RTBGRToxREY4QjA5OjI5REI0QUI6Njk2QTU2MDEiLCJ2aXNpdG9yX2lkIjoiNzk1ODExMzA3MDIyOTM3ODU2MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 66bc804532e369fbf0bfdd5737bdeed831e0486658b9f851722d381125962012 |
| hovercard-subject-tag | issue:1431990280 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/98973/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a93838d7c2d8b7074245a642938e07a5df4039d12ebe065f7c18985cec759e92/python/cpython/issues/98973 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a93838d7c2d8b7074245a642938e07a5df4039d12ebe065f7c18985cec759e92/python/cpython/issues/98973 |
| og:image:alt | Bug report 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... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | vient |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3f871c8e07f0ae1886fa8dac284166d28b09ad5bada6476fc10b674e489788ef |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 63c426b30d262aba269ef14c40e3c817b384cd61 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width