How can I solve this problem? Do I need to sign the binary?
Another output I got when I ran from command line is the following:
/Users/shyamal/App/dist/App.app/Contents/MacOS/App ; exit;
shyamal@Shyamals-iMac ~ % /Users/shyamal/App/dist/App.app/Contents/MacOS/App ; exit;
/Users/shyamal/App/dist/App.app/Contents/Resources/__boot__.py:217: DeprecationWarning: pkg_resources is deprecated as an API. See .html
Traceback (most recent call last):
File "/Users/shyamal/App/dist/App.app/Contents/Resources/__boot__.py", line 262, in <module>
_run()
File "/Users/shyamal/App/dist/App.app/Contents/Resources/__boot__.py", line 185, in _run
exec(compile(source, path, "exec"), globals(), globals())
File "/Users/shyamal/App/dist/App.app/Contents/Resources/Domino_Data_Systems_Spelling_Bee_I.py", line 29, in <module>
import tkinter as tk
File "/Users/shyamal/App/dist/App.app/Contents/Resources/lib/python3.11/tkinter/__init__.py", line 38, in <module>
import _tkinter # If this fails your Python may not be configured for Tk
^^^^^^^^^^^^^^^
SyntaxError: source code string cannot contain null bytes
2025-01-16 03:41:48.138 DDS-Spelling-Bee[1589:46763] Launch error
2025-01-16 03:41:48.138 DDS-Spelling-Bee[1589:46763] Launch error
See the py2app website for debugging launch issues
Any thoughts or ideas to fix this problem?