Troubleshooting django installation

Sometimes it won’t compile on a Mac. This seemed to do the trick

The error: File "/private/var/folders/hq/npxxjwlx30qbxzz87fpns79w0000gn/T/pip-build-8IPZ7O/PyICU/setup.py", line 33, in
''')
RuntimeError:
Please set the ICU_VERSION environment variable to the version of
ICU you have installed.

brew install icu4c
brew link icu4c --force

error:

ld: library not found for -lssl
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: command ‘cc’ failed with exit status 1

Fix:

xcode-select –install
pip install mysql-python

Only to find out mac won’t work with mysql5.7 use Mysql5.6