[cantera] r3413 committed - [Doc] Update instructions for installing Windows dependencies with pip

6 views
Skip to first unread message

can...@googlecode.com

unread,
Feb 27, 2015, 7:25:31 PM2/27/15
to cantera...@googlegroups.com
Revision: 3413
Author: yar...@gmail.com
Date: Sat Feb 28 00:24:15 2015 UTC
Log: [Doc] Update instructions for installing Windows dependencies
with pip
https://code.google.com/p/cantera/source/detail?r=3413

Modified:
/cantera/trunk/doc/sphinx/install.rst

=======================================
--- /cantera/trunk/doc/sphinx/install.rst Wed Feb 25 19:48:38 2015 UTC
+++ /cantera/trunk/doc/sphinx/install.rst Sat Feb 28 00:24:15 2015 UTC
@@ -55,18 +55,36 @@
and will include Numpy as well as many other packages useful for
scientific
users.

-3. **Install Numpy**
+3. **Install pip**
+
+ - Go to the `pip installation instructions
+ <https://pip.pypa.io/en/latest/installing.html#install-pip>`_ and
download
+ `get-pip.py` (You may need to right click the link and select *Save
target
+ as...*).
+
+ - From a administrative command prompt, run `get-pip.py` with the copy
of
+ Python you plan on use with Cantera, e.g.::
+
+ c:\python33\python.exe "%USERPROFILE%\Downloads\get-pip.py"
+
+4. **Install Numpy**

- Go to the `Unofficial Windows Binaries for Python Extension Packages
page
<http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy>`_.

- - Download the most recent release of the 1.x series for Python *X.Y*
that
- matches your Python architecture. The binaries for Cantera 2.1.1
require
- Numpy 1.8.0 or newer.
+ - Download the most recent release (distributed as a "wheel" archive)
of the
+ 1.x series for Python *X.Y* that matches your Python architecture. The
+ binaries for Cantera 2.1.1 require Numpy 1.8.0 or newer, e.g. In the
+ filename, the digits after "cp" indicate the Python version, e.g.
+ ``numpy‑1.8.2+mkl‑cp33‑none‑win_amd64.whl`` is the installer for
64-bit
+ Python 3.3.
+
+ - From an administrative command prompt, install the downloaded wheel
using
+ pip, e.g.::

- - Run the installer.
+ c:\python33\scripts\pip.exe
install "%USERPROFILE%\Downloads\numpy‑1.8.2+mkl‑cp33‑none‑win_amd64.whl"

-4. **Remove old versions of Cantera**
+5. **Remove old versions of Cantera**

- Use The Windows "Add/Remove Programs" interface

@@ -74,7 +92,7 @@

- The Python module will be listed as "Python *X.Y* Cantera ..."

-5. **Install Cantera**
+6. **Install Cantera**

- Go to the `Cantera Downloads
<https://sourceforge.net/projects/cantera/files/cantera/2.1.1/>`_
page.
@@ -89,7 +107,7 @@

- Run the installer(s).

-6. **Configure Matlab** (optional)
+7. **Configure Matlab** (optional)

- Set the environment variable ``PYTHON_CMD``

@@ -112,7 +130,7 @@

- Select *Save*, then *Close*.

-7. **Test the installation**
+8. **Test the installation**

- Python::

Reply all
Reply to author
Forward
0 new messages