postgresqlのインストール コメントを残す このサイトの通リにそのまま実行した https://www.howtoforge.com/tutorial/ubuntu-postgresql-installation/ peeweeから操作するために sudo apt-get install libpq-dev python-dev