@cryptoref, can you try the latest version and see if the issue still occurs?
See: Problem with Python 3.12 on Windows - #3 by komoto48g