import pg (postgres) in python codes, you need to install 'python3-postgresql'
or search it as follows:
$ sudo apt-cache search python3-postgresql 如果不行,试试
$ sudo apt-get install python-pygresql
import pg (postgres) in python codes, you need to install 'python3-postgresql'
or search it as follows:
$ sudo apt-cache search python3-postgresql 如果不行,试试
$ sudo apt-get install python-pygresql