Postgresql Invalid Input Value Python Install Requests