20161216
If you just want to run Perl
on Jupyter
, there is a Dockerfile.
CentOS7.2.1511
--jupyter
has been set and execution confirmed.
--python
is managed by pyenv
ʻanaconda2-4.0.0 [^ 1] & ʻanaconda3-4.0.0
-- perl
is managed by plenv
5.24.0
[^ 1]: 2.7.11 and 3.5.1. jupyter
is included by default on both sides. 3.5.1 was upgraded to 3.5.2 during RISE installation.
It is possible to switch between 2 system and 3 system.
The setting method is well known.
$ pyenv shell anaconda2-4.0.0
$ jupyter kernelspec install-self --user
$ pyenv shell anaconda3-4.0.0
$ jupyter kernelspec install-self --user
Either
$ jupyter notebook #A
With tree
=> new
, a choice of 2 and 3 appears in Notebooks
.
--Execution after setting python
above
--yum
may contain unnecessary things [^ 2].
[^ 2]: I hit perl-devel
without thinking, but ...
$ plenv shell 5.24.0
$ sudo yum install perl-devel zeromq zeromq-devel
$ cpanm Devel::IPerl --notest
The installation itself is completed. Maybe the kernel is installed at this point, but I ...
$ kill %1 # #If A is running
$ iperl notebook
Then I launched jupyter
once.
Normally, it seems that the kernel is included, and even if you start it from the Python
side, you can now create a notebook with the ʻIPerl 0.006` kernel.
I just do conda
, so let's put it in ...
$ pyenv shell anaconda3-4.0.0
$ conda install -c damianavila82 rise
--You can't use it without #A in the installed environment [^ 3].
[^ 3]: In this case, when #A was performed on the 2nd system, the icon did not appear on the screen.
Recommended Posts