tkinter fails to import in ParaView binary release
tkinter fails to import in ParaView binary release
>>> import tkinter
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/glow/dev/paraview/others/ParaView-master-5.11.1-1280-gd982f83420-MPI-Linux-Python3.9-x86_64/lib/python3.9/tkinter/__init__.py", line 37, in <module>
import _tkinter # If this fails your Python may not be configured for Tk
ModuleNotFoundError: No module named '_tkinter'
>>> vim /home/glow/dev/paraview/others/ParaView-master-5.11.1-1280-gd982f83420-MPI-Linux-Python3.9-x86_64/lib/python3.9/tkinter/__init__.py
File "<stdin>", line 1
vim /home/glow/dev/paraview/others/ParaView-master-5.11.1-1280-gd982f83420-MPI-Linux-Python3.9-x86_64/lib/python3.9/tkinter/__init__.py
^
SyntaxError: invalid syntax
tkinter files are shipped but it seems non-fonctionnal.
Works perfectly with a local build
Edited by Mathieu Westphal (Kitware)