This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jpc2350
Recipients jpc2350, ned.deily
Date 2017-11-28.11:11:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1511867468.64.0.213398074469.issue31817@psf.upfronthosting.co.za>
In-reply-to
Content
Hi Ned,

I've built a new machine, tried the build again using Tk and Tcl shared libraries, built Python-3.6.3 and it's still not worked.

The Python/3.6.3-foss-2017b/lib/python3.6/tkinter folder gets created and populated with several files, but when you try and import tkinter in python, it fails to import with:

>>> import tkinter
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/tools/apps/Python/3.6.3-foss-2017b/lib/python3.6/tkinter/__init__.py", line 36, in <module>
    import _tkinter # If this fails your Python may not be configured for Tk
ModuleNotFoundError: No module named '_tkinter'

Running __init__.py from the tkinter folder produces this output:

Traceback (most recent call last):
  File "__init__.py", line 36, in <module>
    import _tkinter # If this fails your Python may not be configured for Tk
ModuleNotFoundError: No module named '_tkinter'

I'm guessing something is failing to build correctly but it's not being logged.

Both Tk and Tcl versions 8.6.6 and 8.6.7 are available and working on the system.
History
Date User Action Args
2017-11-28 11:11:08jpc2350setrecipients: + jpc2350, ned.deily
2017-11-28 11:11:08jpc2350setmessageid: <1511867468.64.0.213398074469.issue31817@psf.upfronthosting.co.za>
2017-11-28 11:11:08jpc2350linkissue31817 messages
2017-11-28 11:11:08jpc2350create