[PYTHON] In Jupyter, add IPerl to the kernel.

20161216

If you just want to run Perl on Jupyter, there is a Dockerfile.

environment

[^ 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.

python settings

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.

Perl settings

IPerl installation

--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.

iperl01.png

iperl02.png

By the way, RISE

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

In Jupyter, add IPerl to the kernel.
The usual way to add a Kernel with Jupyter Notebook
Add / remove kernel to use jupyter with venv
Add / remove kernel to JupyterLab
Connect the Jupyter Notebook kernel to Spyder with Jupytext enabled
Programming to fight in the world ~ 5-1
Programming to fight in the world ~ 5-5,5-6
Programming to fight in the world 5-3
Programming to fight in the world-Chapter 4
In the python command python points to python3.8
Cython to try in the shortest
Programming to fight in the world ~ 5-2
Attempt to extend a function in the library (add copy function to pathlib)
Try to make a kernel of Jupyter
How to execute commands in jupyter notebook
Various comments to write in the program
Memorandum (Add name only to people with the same surname in the list)
Add syntax highlighting for the Kv language to Spyder in the Python IDE
How to use the C library in Python
Log in to the remote server with SSH
Dynamically add fields to Form objects in Django
Just add the python array to the json data
Twitter streaming client to enjoy in the terminal
Draw graphs in Julia ... Leave the graphs to Python
Bash in Jupyter
A memorandum of how to execute the! Sudo magic command in Jupyter Notebook
The trick to write flatten concisely in python
To add a module to python put in Julialang
How to get the files in the [Python] folder
What to do when the graph does not appear in jupyter (ipython) notebook
Use the LibreOffice app in Python (3) Add library
Use pygogo to get the log in json.
Add totals to rows and columns in pandas
[Wagtail] Add a login page to the Wagtail project
How to make the font width of jupyter notebook put in pyenv equal width
I want to display the progress in Python!
Investigate the add_metric method to add arbitrary metrics to pycaret
How to retrieve the nth largest value in Python
I tried to graph the packages installed in Python
How to get the variable name itself in python
How to run the Ansible module added in Ansible Tower
The easiest way to set up Last-Modified in Flask
Add auto-completion to EV3 Micropyhon programming in VS Code
How to get the number of digits in Python
The kernel of jupyter notebook can no longer connect
Add information to the bottom of the figure with Matplotlib
Just add the driver to the shape key with blender
How to know the current directory in Python in Blender
Set the form DateField to type = date in Django
[Tips] Save / copy the graph displayed in Jupyter Lab
How to use the exists clause in Django's queryset
How to instantly launch Jupyter Notebook from the terminal
How to add page numbers to PDF files (in Python)
I want to write in Python! (3) Utilize the mock
Next to Excel, for the time being, jupyter notebook
How to use jupyter lab in Windows 10 local environment
How to use the model learned in Lobe in Python
Try to decipher the login data stored in Firefox
The easiest line bot in the world to lose weight
How to add color bars in matplotlib bar plot
[Note] I can't call the installed module in jupyter