...
To set up PostgreSQL + MADlib with Anaconda Python on OSX:
PYTHON=/Users/janedoe/anaconda/bin/pythonpython
- Install Install Postgres with the Python extension specified (i.e., --with-python), as described here in the PostgreSQL documentation Set . Note that previously you could install postgres with python support using brew by running '
brew install postgresql
--with-python
' but passing the '--with-python
' flag is not supported anymore. Set up database and roles
Install Install the .dmg of latest madlib downloaded from MADlib website httphttps://madlib.apache.org/download.html
- /usr/local/madlib/bin/madpack -s madlib -p postgres install
...