Logging issue in this repo instead of parserator since labeling and training are documented here.
Installed a development version of usaddress on python 3.12.
An error is thrown when running the "parserator label ..." command, (No problems labeling & training with prior versions of python)
File "...\Lib\site-packages\parserator\training.py", line 11, in
from imp import reload
ModuleNotFoundError: No module named 'imp'
According to python docs, version 3.12 has replaced the 'imp' module with 'importlib'.
But looking at the training.py file here: https://github.com/datamade/parserator/blob/master/parserator/training.py
it's clear the 'reload' function isn't used anywhere in that code.
I commented out the line in my local copy of training.py and was able to label and train successfully.
Been using this library for a couple years now and love it.
Logging issue in this repo instead of parserator since labeling and training are documented here.
Installed a development version of usaddress on python 3.12. An error is thrown when running the "parserator label ..." command, (No problems labeling & training with prior versions of python)
File "...\Lib\site-packages\parserator\training.py", line 11, in
from imp import reload
ModuleNotFoundError: No module named 'imp'
According to python docs, version 3.12 has replaced the 'imp' module with 'importlib'. But looking at the training.py file here: https://github.com/datamade/parserator/blob/master/parserator/training.py it's clear the 'reload' function isn't used anywhere in that code. I commented out the line in my local copy of training.py and was able to label and train successfully.
Been using this library for a couple years now and love it.