赞
踩
今天第一次使用conn = create_engine()的时候报错——AttributeError: ‘Engine’ object has no attribute ‘execution_options’。
经查是由于环境中安装了Camelot这个模块,它使用的sqlalchemy是0.7的版本,将sqlalchemy升级到1.X的版本就可以解决。
pip uninstall camelot;
pip uninstall sqlalchemy;
pip install sqlalchemy;
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。