Apple

Connect Django to PostgreSQL (via psycopg2) on Mac OS X

After successfully installing Django and the EnterpriseDB version of PostgreSQL, I needed to successfully install the PostgreSQL adapter for Python (psycopg2) before I can successfully start Django’s development testing web server. After significant research, here are the two errors encountered and subsequent resolutions I was able to find. Issue #1 Command: pip install psycopg2 Error: pg_config …

Connect Django to PostgreSQL (via psycopg2) on Mac OS X Read More »

Uninstall Python from Mac OS X

The Apple-provided build of Python is installed in /System/Library/Frameworks/Python.framework and /usr/bin/python, respectively. You should never modify or delete these, as they are Apple-controlled and are used by Apple or third-party software. Remember, that if you choose to install a newer Python version from python.org, you will have two different but functional Python installations on your …

Uninstall Python from Mac OS X Read More »