why not running "pipenv install psycopg2" in mac code example
Example: pipenv an error occurred while installing psycopg2==2.8.4
1. Purge the virtualenv by pipenv --rm
2. Install binary version: pipenv install psycopg2-binary
1. Purge the virtualenv by pipenv --rm
2. Install binary version: pipenv install psycopg2-binary