我正在尝试使用 odo 库将表从 My SQL 导出到 CSV
代码是:
src =f'mysql+pymysql://{MYSQL_READER_USERNAME}:%s@{MYSQL_READER_HOST}/{MYSQL_DB_NAME}' % urllib.parse.quote(f'{MYSQL_READER_PASSWORD}')
csv = odo(src+"::orders",pd.DataFrame)
print(csv)
但我收到一个错误
return Record([(c.name, meta(discover(c.type)))])
File "/miniconda3/lib/python3.8/site-packages/multipledispatch/dispatcher.py", line 267, in __call__
types = tuple([type(arg) for arg in args])
RecursionError: maximum recursion depth exceeded
有谁知道如何解决这个错误?