From cf83470891f233156657ac4c9d20bd16c85690a3 Mon Sep 17 00:00:00 2001 From: Udi Oron Date: Tue, 10 Nov 2015 00:35:02 +0200 Subject: [PATCH] Suggest installing psycopg2 in windows using pip pip is becoming the standard method for installing python packages, and now binary wheels are a better and easier option for users: https://github.com/psycopg/psycopg2/issues/368 --- doc/src/install.rst | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/doc/src/install.rst b/doc/src/install.rst index ec1eeea8..a7a973c8 100644 --- a/doc/src/install.rst +++ b/doc/src/install.rst @@ -95,7 +95,15 @@ Install from a package pair: Install; Windows **Microsoft Windows** - Jason Erickson maintains a packaged `Windows port of Psycopg`__ with + There are two options to install a precompiled `psycopg2` package under windows: + + **Option 1:** Using `pip`__ (Included in python 2.7.9+ and python 3.4+) and a binary wheel package. Launch windows' command prompt (`cmd.exe`) and execute the following command:: + + pip install psycopg2 + + .. __: https://pip.pypa.io/en/stable/installing/ + + **Option 2:** Jason Erickson maintains a packaged `Windows port of Psycopg`__ with installation executable. Download. Double click. Done. .. __: http://www.stickpeople.com/projects/python/win-psycopg/