Error execute script to export py to .exe

  Kiến thức lập trình

I have a problem wanting to convert a tkinker app from py to .exe.
It should be noted that I am using an image recognition model, especially layoutparser-0.0.0-py3-none-any.
I ran the auto-py-to-exe in a virtual environment with all the libraries the same as my virtual environment to create the exe.

However I get this error in the image.
enter image description here

I hope you can help me.

I am building a tkinter app in .py to .exe, however I get errors related to letters which are not accessible even though I do not access them with my code.