问题描述:
操作步骤:按照python打包 中用py2app打包方式对dialog.app进行打包。
操作结果:打开setup.py 时出现该报错信息
A Python runtime not could be located. You may need to install a framework build of Python, or edit the PyRuntimeLocations array in this application’s Info.plist file.
原因分析:
在“别名模式”(使用指向环境的符号链接而不是复制二进制文件)下生成应用程序时没有出现错误,但在不使用别名模式的情况下构建应用程序时,会出现错误:py2app在不存在的名称/Applications/anaconda/lib/libpython3.4.dylib下查找{}DLL