From 3d492cb7368c0b0938d92744b8e5dce3152e9913 Mon Sep 17 00:00:00 2001 From: Ryan Curtin Date: Thu, 10 May 2018 15:11:34 -0400 Subject: [PATCH] Update Python binding guide, since packages are now available. --- doc/guide/python_quickstart.hpp | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/doc/guide/python_quickstart.hpp b/doc/guide/python_quickstart.hpp index 0e12f3c880..36114daeea 100644 --- a/doc/guide/python_quickstart.hpp +++ b/doc/guide/python_quickstart.hpp @@ -13,11 +13,20 @@ This quickstart guide is also available for @ref cli_quickstart "the command-lin @section python_quickstart_install Installing mlpack -(This section will be simplified when mlpack is available in PyPI or conda.) +Installing the mlpack bindings for Python is straightforward. It's easy to use +conda or pip to do this: -Installing the mlpack bindings for Python is straightforward. First we have to -install the dependencies (the code below is for Ubuntu), then we can build and -install mlpack. You can copy-paste the commands into your shell. +@code{.sh} +pip install mlpack/mlpack3 +@endcode + +@code{.sh} +conda install -c mlpack mlpack +@endcode + +Otherwise, we can build the Python bindings from scratch, as follows. First we +have to install the dependencies (the code below is for Ubuntu), then we can +build and install mlpack. You can copy-paste the commands into your shell. @code{.sh} sudo apt-get install libboost-all-dev g++ cmake libarmadillo-dev python-pip wget