thanks for your coming. What I am doing is trying to package one of my python (.py) file into a Mac application file (.app) by using a python module called “py2app”. First, I installed py2app by using “pip install py2app” in the terminal. Then I used “py2aplet —-make-setup file.py” (in terminal) to make a setup.py file for my python file and returned “Wrote setup.py". After that, I used “python setup.py py2app -A”(in terminal), it did create 2 folders in the same directory as the current which is my python test folder which is the “build” and “dist” folder. But in the end, when I click on the file it saids:
“file has encountered fatal error, and will now terminate”,”A python runtime not could be located. You may need to install a framework build for Python, or edit the PyRuntimeLocations army in this applications info.plist file.”
How could I fix this problem?