1

更新 python 服务器上的所有插件后,它现在引发

File "D:\Python362\lib\site-packages\aiopg\utils.py", line 72, in __await__
    resp = yield from self._coro
  File "D:\Python362\lib\site-packages\aiopg\sa\connection.py", line 116, in _execute
    return ResultProxy(self, cursor, self._dialect, result_map)
  File "D:\Python362\lib\site-packages\aiopg\sa\result.py", line 234, in __init__
    self._metadata = ResultMetaData(self, cursor.description)
  File "D:\Python362\lib\site-packages\aiopg\sa\result.py", line 103, in __init__
    typemap = dialect.dbapi_type_map
AttributeError: 'PGDialect_psycopg2' object has no attribute 'dbapi_type_map'

插件列表

4

1 回答 1

2

这完全是关于 sqlalchemy,降级到 1.1.15 解决了这个问题。

于 2017-12-28T07:58:49.077 回答