Traceback (most recent call last):
File "sqlalchemy_select.py", line 24, in <module>
engine = create_engine('mysql://******:******@192.***.31.***/zst?charset=utf8mb4')
File "/root/.pyenv/versions/3.8.6/lib/python3.8/site-packages/sqlalchemy/engine/__init__.py", line 500, in create_engine
return strategy.create(*args, **kwargs)
File "/root/.pyenv/versions/3.8.6/lib/python3.8/site-packages/sqlalchemy/engine/strategies.py", line 87, in create
dbapi = dialect_cls.dbapi(**dbapi_args)
File "/root/.pyenv/versions/3.8.6/lib/python3.8/site-packages/sqlalchemy/dialects/mysql/mysqldb.py", line 118, in dbapi
return __import__("MySQLdb")
ModuleNotFoundError: No module named 'MySQLdb'
对于刚接触 sqlalchemy 这个模块的我来说,该报错着实让我有点摸不着头脑╮(╯▽╰)╭
但 Traceback 大兄弟还是给出了些线索:File "/root/.pyenv/versio