今天部署新程序,报如下错误:
写道
No module named sqlsoup
错误行:
from sqlalchemy.ext.sqlsoup import SqlSoup
错误行:
from sqlalchemy.ext.sqlsoup import SqlSoup
问题原因:sqlalchemy版本安装不对,0.8版本对api进行了调整,通过如下步骤消灭问题:
pip uninstall sqlalchemy
pip install http://pypi.python.org/packages/source/S/SQLAlchemy/SQLAlchemy-0.7.9.tar.gz
pip install http://pypi.python.org/packages/source/S/SQLAlchemy/SQLAlchemy-0.7.9.tar.gz
OK了!
--end