Encountered a problem when using Python 3.12, problem one is causing an exception:'ImageDraw' object has no attribute 'textsize',I attempted to downgrade PIL to version 9.5 and resolved the issue. However, when used in 'jupyter', it will continue to occupy the process and cannot calculate the result, and even when executed directly in '. py', the result cannot be obtained.I noticed a warning in the background while running in 'jupyter',It seems that frozen modules are being used, which may.I'm not sure if it's related to this issue.
Encountered a problem when using Python 3.12, problem one is causing an exception:
'ImageDraw' object has no attribute 'textsize',I attempted to downgrade PIL to version 9.5 and resolved the issue. However, when used in 'jupyter', it will continue to occupy the process and cannot calculate the result, and even when executed directly in '. py', the result cannot be obtained.I noticed a warning in the background while running in 'jupyter',It seems that frozen modules are being used, which may.I'm not sure if it's related to this issue.