Python installation on Mac OSX

Core requirements

Python 3.7 or better


pip3 install wxPython

wxPython 4.1.1 has a tiny glitch, which is handled.

If the wxPython installer doesn't work as expected when double-clicking (this is a known problem for 10.8/10.9), you can run

sudo installer -pkg /Volumes/wxPython*/wxPython*.pkg -target /

to force the installation.


modBind requirements

modBind needs requests and dnspython.

sudo pip3 install requests
sudo pip3 install dnspython

modLdap requirements

modLdap needs PythonLdap 2.4 or newer.

sudo pip3 install python-ldap

modPg requirements

modPg uses psycopg 2.5 or newer.

sudo pip3 install psycopg2-binary