Postgres error : Driver not installed, using peewee,docker and fastapi
Apparently you didn't install `psycopg2`, or for some reason Peewee is unable to import it. In your `main.py` try adding a line `import psycopg2 ; print(psycopg2)` - it should be easy to tell. I intalled pyscogp2 not psycopg2 , really bad one hahaha thank you!! You might've installed some malware or a miner, be careful, people typosquat pypi stuff.
I have installed peewee 3.16.2 ,pyscopg2 66.0.2 and fastapi 0.95.1.

 I follow the steps in peewee docs about integrate fastapi apps, but showing up this error **peewee.ImproperlyConfigured: Postgres driver not installed!**

This is my config file in fastapi:
        
       def init_db():
         db = PostgresqlDatabase(
            'atlas_repos',
             user='atlas',
             password='password',
             host='localhost',
             port=5432)
     return db

this function is called from a main.py  in fastapi where I have a db.connect() function

Any help would be much apreciated.
