LoginSignup
0
0

More than 5 years have passed since last update.

CondaでNCLをインストール

Posted at

Windows Subsystem for Linux (Debian)にNCLをインストールします。Windows用は提供されていません。

公式ドキュメント

この通りに行かなかったのでメモしておきます。今時Python 2.7はないので,Mini CondaはPython3用にしてPython 2.7の仮想環境をつくることにしました。

$ conda create -n ncl python=2.7
$ source activate ncl
$ conda install -c conda-forge ncl

一部のライブラリのシンボリックリンクが見つからない問題があります。ここでは手動で作っておきます。miniconda3/libにシンボリックリンクを張っても効果なしで,仮想環境でシンボリックを作成する必要があります。

$ cd $(which ncl)/../lib
$ ln -s libncursesw.so.6.1 libncurses.so.6
$ ln -s libtinfow.so.6.1 libtinfo.so.6

テストします。

$ ncl -V
$ ng4ex xy05n -clean -W png

xy05.png

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0