From 7cb6455c8411e799923dd95e171acca991cd580a Mon Sep 17 00:00:00 2001 From: Graham Neubig Date: Fri, 9 Feb 2018 16:54:04 -0500 Subject: [PATCH] Added mention of binary distribution (#1234) --- doc/source/python.rst | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/doc/source/python.rst b/doc/source/python.rst index 0f5c397f9..daf661a35 100644 --- a/doc/source/python.rst +++ b/doc/source/python.rst @@ -1,8 +1,25 @@ Installing DyNet for Python =========================== +Installing a Release CPU Version +-------------------------------- + Python bindings to DyNet are supported for both Python 2.x and 3.x. -Before installing DyNet, you will need to make sure that several packages are installed. +If you want to install a release version of DyNet and don't need to run on GPU, you can +simply run + +:: + + pip install dynet + + +Installing a Cutting-edge and/or GPU Version +-------------------------------------------- + +If you want the most recent features of DyNet from the development branch, or want GPU +compute capability, you'll want to install DyNet from source. + +Before doing so, you will need to make sure that several packages are installed. For example on **Ubuntu Linux**: ::