简体   繁体   English

当nosetests和paster setup-app development.ini时,TurboGears2.2.0安装/运行错误

[英]TurboGears2.2.0 install/run error when nosetests and paster setup-app development.ini

I encountered a problem after I finished all process of installing TurboGear2 on my OS X 10.8.2. 我完成了在OS X 10.8.2上安装TurboGear2的所有过程后遇到问题。 Using Python2.7, TurboGear2.2.0 The installing process was based on tutorial of official website: http://www.turbogears.org/2.2/docs/main/DownloadInstall.html 使用Python2.7,TurboGear2.2.0安装过程基于官方网站的教程: http//www.turbogears.org/2.2/docs/main/DownloadInstall.html

Problem describing: 1. Follow the tutorial, installation went smoothly until nosetests show 10 ERRORs. 问题描述:1。按照教程,安装顺利进行,直到测试显示10个错误。 2. Then, "paster setup-app development.ini" also show error messages as below: 2.然后,“paster setup-app development.ini”也会显示错误消息,如下所示: 在此输入图像描述

But I command "paster serve development.ini" in terminal, the server still successfully work. 但是我在终端命令“paster serve development.ini”,服务器仍然成功运行。

I think there're some problems, but I found no answers. 我认为有一些问题,但我找不到答案。 Do anyone have any idea about this? 有人对此有任何想法吗? Thanks a lot. 非常感谢。

是不幸的是,sqlalchemy的新版本存在问题...只需删除sqlalchemy pip uninstall sqlalchemy sqlalchemy的版本并安装0.7.9版本pip install sqlalchemy==0.7.9

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM