运行db_create.py出错

quwer 发布于 2016/06/06 15:05
阅读 247
收藏 0

@zypy333 你好,想跟你请教个问题D:\My Documents\桌面\anli\microblog-0.4>python db_create.py
Traceback (most recent call last):
  File "db_create.py", line 2, in <module>
    from migrate.versioning import api
  File "F:\python\lib\site-packages\migrate\versioning\api.py", line 33, in <mod
ule>
    from migrate.versioning import (repository, schema, version,
  File "F:\python\lib\site-packages\migrate\versioning\schema.py", line 10, in <
module>
    from sqlalchemy import exceptions as sa_exceptions
ImportError: cannot import name exceptions
本人小白,可以问一下原因?

加载中
0
一碗粥
一碗粥
from sqlalchemy_utils import exceptions as sa_exceptions



0
zypy333
zypy333
不好意思,很久没弄Python了都忘完了
返回顶部
顶部