Title: Can't import `tkinter` in Python 2.7 · Issue #262 · PythonCharmers/python-future · GitHub
Open Graph Title: Can't import `tkinter` in Python 2.7 · Issue #262 · PythonCharmers/python-future
X Title: Can't import `tkinter` in Python 2.7 · Issue #262 · PythonCharmers/python-future
Description: I get an error when trying to import tkinter: Traceback (most recent call last): File "forum4.py", line 2, in
Open Graph Description: I get an error when trying to import tkinter: Traceback (most recent call last): File "forum4.py", line 2, in
X Description: I get an error when trying to import tkinter: Traceback (most recent call last): File "forum4.py", line 2, in <module> from tkinter import * File "/usr/local/lib/python2.7/dist...
Opengraph URL: https://github.com/PythonCharmers/python-future/issues/262
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Can't import `tkinter` in Python 2.7","articleBody":"I get an error when trying to import `tkinter`:\r\n\r\n```\r\nTraceback (most recent call last):\r\n File \"forum4.py\", line 2, in \u003cmodule\u003e\r\n from tkinter import *\r\n File \"/usr/local/lib/python2.7/dist-packages/tkinter/__init__.py\", line 6, in \u003cmodule\u003e\r\n from Tkinter import (_cnfmerge, _default_root, _flatten, _join, _setit,\r\nImportError: cannot import name _join\r\n```\r\n\r\nThe import of `_join` was added as fix for #233 and also includes `_splitdict`, and `_stringify` which don't exist in my Python 2.7s `Tkinter` module. The perils of implementation details I guess.","author":{"url":"https://github.com/Marrin","@type":"Person","name":"Marrin"},"datePublished":"2017-01-14T15:17:47.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/262/python-future/issues/262"}
| 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:4e98daa1-df27-2bd1-9c5a-3c34381047f4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 977C:80349:2E2CA6:3CEC13:69697BA8 |
| html-safe-nonce | 90ee91a76d4f4833c3f80b306b4b344361476cb06680761e979874afb6ec8793 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NzdDOjgwMzQ5OjJFMkNBNjozQ0VDMTM6Njk2OTdCQTgiLCJ2aXNpdG9yX2lkIjoiNDIwOTM0MzMwMjIwMTg2NzE3NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 249fd5986269bda7fa433ec5a24ee7f37af979fe828839fbe21ffdbb5d47b6a5 |
| hovercard-subject-tag | issue:200809768 |
| 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/PythonCharmers/python-future/262/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1670eb1b815c480caa1db9ae552fb1ef0761e4b673dd468bd77cc16a2b3b8862/PythonCharmers/python-future/issues/262 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1670eb1b815c480caa1db9ae552fb1ef0761e4b673dd468bd77cc16a2b3b8862/PythonCharmers/python-future/issues/262 |
| og:image:alt | I get an error when trying to import tkinter: Traceback (most recent call last): File "forum4.py", line 2, in |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Marrin |
| hostname | github.com |
| expected-hostname | github.com |
| None | f33e4b94c8824ab2b434d82a94139432fb5ebee9df4b75304140ad22508c4a77 |
| turbo-cache-control | no-preview |
| go-import | github.com/PythonCharmers/python-future git https://github.com/PythonCharmers/python-future.git |
| octolytics-dimension-user_id | 3365815 |
| octolytics-dimension-user_login | PythonCharmers |
| octolytics-dimension-repository_id | 11403699 |
| octolytics-dimension-repository_nwo | PythonCharmers/python-future |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 11403699 |
| octolytics-dimension-repository_network_root_nwo | PythonCharmers/python-future |
| 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 | 48f380098b30acbb700b04f1724481ca10d574fc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width