Installation on Windows

Prerequisites

We tested on Windows8.1 64bit and Windows10 64bit.

The following software are required for installation:

  • Required software.

    • Python>=3.6: PIP

    • Microsoft Visual C++ 2015 Redistributable

  • Recommended.

    • CUDA Toolkit and cuDNN (if you have CUDA GPUs).

Setup environment

Python

In this instruction, we use Miniconda.

Get and install the windows binary from here

And then install required packages from command prompt.

> conda install scipy scikit-image ipython

If your network is using proxy and setup fails, configure proxy server with environment variable and try install again.

> SET HTTP_PROXY=http://(enter the address of the http proxy server here)
> SET HTTPS_PROXY=https://(enter the address of the https proxy server here)

Microsoft Visual C++ 2015 Redistributable

Get and install from here

CUDA and cuDNN library

If you are using a NVIDIA GPU, execution speed will be drastically improved by installing the following software.

CUDA Toolkit

cuDNN

To install cuDNN, copy bin, include and lib to C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v{CUDA_VERSION}

See a list of compatible cuDNN versions of CUDA extension packages.

Install

See NNabla package installation using PIP.

FAQ

Q. Scikit-image installation takes a long time.

Depending on the environment, it will take a long time. Please wait.

Q. Failed to install Scipy during installation.

Please install scipy using “conda install” before “pip install nnabla”.