环境:MacOS X 10.7.2,系统安装python 2.7.1,virtualenv 1.7.2,pyobjc 2.3,py2app 0.6.4+
我有一个新创建的virtualenv安装了pyobc 2.3和py2app.当我运行python setup.py py2app来创建一个应用程序时(例如在py2app/examples/simple中),一切似乎都在编译,它确实产生了一个双击应用程序,但点击该应用程序后,我收到以下错误:
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.
Run Code Online (Sandbox Code Playgroud)
但是,如果我在Lion的标准安装中遵循相同的过程.该应用程序功能良好,符合预期.
关于如何让virtualenv和py2app相互配合的任何建议?
谢谢!