postgres和pg8000 python的连接问题-清除密码问题?

postgres和pg8000 python的连接问题-清除密码问题?,python,postgresql,pg8000,Python,Postgresql,Pg8000,我正在尝试使用以下方式连接: conn = DBAPI.connect(host='sql2', user='XXX', password='XX', database='XX', socket_timeout=100, port=100) 现在,我发现出现以下错误: pg8000.errors.InterfaceError: Authentication method 3 not supported by pg8000. 环顾四周,我明白了这可能意味着什么: 3 = Cleartext

我正在尝试使用以下方式连接:

conn = DBAPI.connect(host='sql2', user='XXX', password='XX', database='XX', socket_timeout=100, port=100)
现在,我发现出现以下错误:

pg8000.errors.InterfaceError: Authentication method 3 not supported by pg8000.
环顾四周,我明白了这可能意味着什么:

 3 = Cleartext pwd (not supported by pg8000)
这里有什么建议吗?

pg8000的最新版本(1.9.14)