If neither Python nor MinGW is installed on your computer, the easiest way to
If neither Python nor MinGW is installed on your computer, the easiest way to
install most dependencies is to install
install most dependencies is to install
`Python(x,y) <http://www.pythonxy.com>`__.
`Python(x,y) <http://www.pythonxy.com>`__.
It is a single installation
It is a single installation
file that contains additional packages like NumPy, SciPy, IPython, Matplotlib,
file that contains additional packages like NumPy, SciPy, IPython, Matplotlib,
MinGW, Nose, etc.
MinGW, Nose, etc.
You can keep the default install options, except that the installation directory should not contain any blank space (in particular, do not install it into
You can keep the default install options, except that the installation directory should not contain any blank space (in particular, do not install it into
``C:\Program Files``).
``C:\Program Files``).
...
@@ -597,7 +597,7 @@ is the correct Python installation path):
...
@@ -597,7 +597,7 @@ is the correct Python installation path):
.. code-block:: cfg
.. code-block:: cfg
[cuda]
[cuda]
nvccflags=-LC:\Python26\libs
nvccflags=-LC:\Python27\libs
Then
Then
...
@@ -641,83 +641,25 @@ It could probably also run with `Cygwin <http://www.cygwin.com/>`__,
...
@@ -641,83 +641,25 @@ It could probably also run with `Cygwin <http://www.cygwin.com/>`__,
but this has not been tested yet.
but this has not been tested yet.
- From `the MinGW files <http://sourceforge.net/projects/mingw/files/>`__,
- From `the MinGW files <http://sourceforge.net/projects/mingw/files/>`__,
download the latest version of the ``Automated MinGW Installer`` and install
download the latest version of the ``Automated MinGW Installer``
it (keeping default options).
(``mingw-get-inst``) and install it with all optional components (although
you probably do not need them all: if you feel like figuring out exactly
- From `the MinGW files <http://sourceforge.net/projects/mingw/files/>`__,
which ones are required, let us know!).
download the latest ``MSYS Base System`` executable file and run it
(note that the latest version of MSYS Base System may not contain an
executable file, in which case it is easier to just use an
older version, e.g. MSYS-1.0.11.exe).
This will install MSYS (you can keep the default install options).
It will also run a post-install script where it will ask you about the
location of MinGW (typically ``c:/MinGW``).
- From `the MinGW files <http://sourceforge.net/projects/mingw/files/>`__,
download the current version of ``GCC Version 4`` (full package with
binaries, e.g.
gcc-full-4.4.0-mingw32-bin-2.tar.lzma). Unpack it (you may use
`7-Zip <http://www.7-zip.org>`__ to unpack files with the
.lzma extension), copying the content into the root directory
of your MinGW installation (if you obtain a .tar file, make
sure you expand it as well, either with `7-Zip <http://www.7-zip.org>`__
or through the ``tar`` command on the MSYS command line).
- If you are familiar with vi, you may find useful to download and install
``MSYS vim`` (this is done in a similar way to GCC 4).
This is strictly optional and mostly helpful to edit configuration files
from within MSYS.
- Run MSYS (Start/Programs/MinGW/MSYS/MSYS) and check the installation
by verifying that the proper version of GCC is found:
.. code-block:: bash
gcc --version
You may also decide to change the location of your home directory by
adding a line at the beginning of msys.bat, that would look like
``set HOME=C:\My\Home\For\MinGW`` (you can also set a global ``HOME``
environment variable within Windows, but this could affect more programs).
- If you do not have them already, install the latest versions of
- If you do not have them already, install the latest versions of
`Python 2.x <http://www.python.org/download/windows>`__ and
`Python 2.x <http://www.python.org/download/windows>`__ and