Odoo 12-CE installation error

Job ID: 37710433

Budget: $10 – $30 USD

I am on Ubuntu and I am trying to set up my development environment to deploy my modules on Odoo Community Edition (Odoo CE). I am using PostgreSQL and PyCharm, with Python 3.9 as the interpreter in PyCharm. When I launch localhost:8069, it creates the database, but then I encounter the error "Database creation error: ERROR: relation 'ir_model' does not exist LINE 1: SELECT * FROM ir_model WHERE state='manual' ^". I would like someone to help me fix this issue.
Related categories: Python PostgreSQL Odoo