Я новичек в python
Стоит ubuntu 18.04 postgresql 10
пишу API по соединению с базой
ругается вот так:
spoilerFile "/home/mypc/PycharmProjects/API/main.py", line 222, in get_item
with db_conn() as db:
File "/home/mypc/PycharmProjects/API/main.py", line 35, in db_conn
return postgresql.open('pq://postgres:passandword@localhost:5432/base')
File "/home/mypc/.local/lib/python3.6/site-packages/postgresql/__init__.py", line 94, in open
c.connect()
File "/home/mypc/.local/lib/python3.6/site-packages/postgresql/driver/pq3.py", line 2427, in connect
self._establish()
File "/home/mypc/.local/lib/python3.6/site-packages/postgresql/driver/pq3.py", line 2559, in _establish
self.version_info = pg_version.normalize(pg_version.split(sv))
File "/home/mypc/.local/lib/python3.6/site-packages/postgresql/versionstring.py", line 28, in split
vlist = [int(x or '0') for x in v[:-1]]
File "/home/mypc/.local/lib/python3.6/site-packages/postgresql/versionstring.py", line 28, in
vlist = [int(x or '0') for x in v[:-1]]
ValueError: invalid literal for int() with base 10: '4 (Ubuntu 10'
причем это работало на Ubuntu 16.04 postgresql 9.5
Куда копать?