Linux へのインストール

前提条件

このインストールの手順では、ほとんどの Linux 64-bit システムに pip を使用して NNabla をインストールする方法を説明します。

提供するバイナリパッケージをサポートしている Python のバージョンは 3.5 ( 推奨できません )、3.6、3.7 です。Python のディストリビューションとして Miniconda を使うことを推奨します。Miniconda の Python をインストールする簡単な手順は、次の通りです。

wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
bash Miniconda3-latest-Linux-x86_64.sh -b -p {installation path e.g. ~/miniconda}
# You have to set an environment variable PATH accordingly
# to enable the installed ``Python`` and the ``conda`` system.
echo 'export PATH=<installation path>/bin:$PATH' >> ~/.bashrc
# Restart your bash or source ~/.bashrc

# Switch the default Python version
conda install -y python={version number e.g. 3.6}

インストール

PIP を使用した NNabla パッケージのインストール を参照してください。

FAQ

Q. 他の linux ディストリビューションを使いたいのですが、どうしたらいいでしょうか?

We actually tested other linux distributions and versions; Ubuntu 16.04, 18.04, 20.04, CentOS 7, 8 on various environments; Baremetal server, AWS instance, and/or Docker machine. Thus, you can install in almost the same way described here. The details of how-to-install for each are coming soon.