Python Tkinter & PostgreSQL packages virtualenv: pip3 install virtualenv to use virtuaelv: virtualenv env psycopg2: pip install psycopg2==2.7.5