python setup.py egg_info failed with error code 1 in psycopg2 code example
Example: Command "python setup.py egg_info" failed with error code 1
$ pip3 install --upgrade setuptools
$ pip3 install --upgrade pip
$ pip3 install --upgrade setuptools
$ pip3 install --upgrade pip