1
所以我想为我的项目使用py2app。现在我没有从py2app得到任何错误。它接近尾声地写着以下内容:py2app与postgres/psycopg2
/usr/bin/strip: for architecture x86_64 object: /Users/bogdan/Documents/TVB/tvb-root/gemenos/trunk/dist/run.app/Contents/Frameworks/libgfortran.2.dylib malformed object (load command 3 cmdsize not a multiple of 8)
但它构建dist/build文件夹。但是,当我尝试运行我的应用程序时出现错误:
File "project/core/storage/dao.pyc", line 13, in <module>
File "sqlalchemy/engine/__init__.pyc", line 263, in create_engine
File "sqlalchemy/engine/strategies.pyc", line 50, in create
File "sqlalchemy/engine/url.pyc", line 116, in get_dialect
sqlalchemy.exc.ArgumentError:无法确定“的PostgreSQL + psycopg2”方言。 2011-07-12 15:20:06.680运行[4310:10B]运行错误
我试着用搜索引擎周围,相关的唯一的事情就是:
http://osdir.com/ml/sqlalchemy/2011-05/msg00104.html
,但我真的不明白那个答案也不知道它是否真的有帮助。
有什么建议吗?
问候, 波格丹
感谢您的输入。 – Bogdan