首页 新闻 搜索 专区 学院

在使用schema工具时,遇到的问题

0
悬赏园豆:160 [待解决问题]

Traceback (most recent call last):
File "/usr/local/bin/schema", line 9, in <module>
load_entry_point('schema-tool==0.3.0', 'console_scripts', 'schema')()
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 351, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2363, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2088, in load
entry = import(self.module_name, globals(),globals(), ['name'])
File "/usr/local/lib/python2.7/dist-packages/schema_tool-0.3.0-py2.7.egg/schematool/schema.py", line 30, in <module>
from command import CommandContext
File "/usr/local/lib/python2.7/dist-packages/schema_tool-0.3.0-py2.7.egg/schematool/command/init.py", line 1, in <module>
from context import CommandContext
File "/usr/local/lib/python2.7/dist-packages/schema_tool-0.3.0-py2.7.egg/schematool/command/context.py", line 2, in <module>
from db import MySQLDb, PostgresDb, MemoryDb, VerticaDb, HiveDb
ImportError: cannot import name MySQLDb
错误内容在最后一行代码

php萌萌哒的主页 php萌萌哒 | 初学一级 | 园豆:42
提问于:2019-01-14 09:38
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册