I'm on Python 3.11.
In spatialmedia/gui.py I had to change
import tkFileDialog
import tkMessage
to
from tkinter import filedialog
from tkinter import tkmessage
and
from TKinter import *
to
from tkinter import *
and all 2 instances of tkFileDialog to filedialog
and all 1 instance of tkMessageBox to messagebox
Then in spatialdata/metadata_utils.py
I changed
for child in parsed_xml.getchildren():
to
for child in parsed_xml:
I'm on Python 3.11.
In spatialmedia/gui.py I had to change
to
and
from TKinter import *to
from tkinter import *and all 2 instances of
tkFileDialogtofiledialogand all 1 instance of
tkMessageBoxtomessageboxThen in spatialdata/metadata_utils.py
I changed
for child in parsed_xml.getchildren():to
for child in parsed_xml: