I am getting this error when installing psycopg2 - Failed building wheel for psycopg2
Check if you have installed psycopg2-binary. If not run below command to install that
pip install psycopg2-binary
Now wxecute below commands to install pycopg2 on MAC OS. Note that we have enabled virtualenv for installing pip packages
pip uninstall psycopg2 pip list --outdated pip install --upgrade wheel pip install --upgrade setuptools pip install psycopg2
Check if you have installed psycopg2-binary. If not run below command to install that
Now wxecute below commands to install pycopg2 on MAC OS. Note that we have enabled virtualenv for installing pip packages