我正在尝试使用py2app和一个简单的Tkinter Python 3程序创建一个应用程序。我的setup.py文件是运行py2applet --make-setup命令时创建的默认文件。当我尝试构建应用程序时,会将大量文件复制到应用程序包中,但我收到此错误:error: can't copy '/Users/bill/.virtualenvs/tk3/Resources/Python.app/Contents/MacOS/Python': doesn't exist or not a regular file
。当我尝试打开构建的应用程序时,我会看到一个带有
无法找到Python运行时。您可能需要安装一个 Python的框架构建或编辑PyRuntimeLocations数组 应用程序的Info.plist文件。
我用自制软件安装了Python 3。