cling/www/jupyter.html

53 lines
1.3 KiB
HTML
Raw Normal View History

2016-02-23 20:16:10 +03:00
<html>
<head>
2016-07-20 16:35:07 +03:00
<title>Cling</title>
<link rel="import" href="import.html">
2016-02-23 20:16:10 +03:00
</head>
2016-07-20 16:35:07 +03:00
<body onload="selectMenu('jupyter')">
<iframe seamless src="header.html" class="header" id="iheader"></iframe>
2016-02-23 20:16:10 +03:00
<div id="breadcrumb"></div>
<div id="content">
<div id="main">
<!-- insert the page content here -->
2016-02-25 17:46:30 +03:00
<h3> Jupyter Kernel </h3>
2016-02-23 20:16:10 +03:00
<p>Cling is now integrated with the <a href = "http://jupyter.org/" target = "_blank"> Jupyter</a> technology through the Jupyter kernel. You can take advantage of creating a Jupyter notebook on top of runtime interpretation, you have runtime visualisation!
</p>
2016-02-25 17:46:30 +03:00
<img id = "jupyterscreenshot"
src="JupyterScreenshot.png" alt="Cling Jupyter Screenshot" style=""/>
2016-02-23 20:16:10 +03:00
<h3>Prerequisites</h3>
<ul>
<li>
ipykernel ≥ 4.0
</li>
</ul>
<h3>Install </h3>
To install the kernel with sources in src/tools/cling:
2016-02-25 17:46:30 +03:00
<pre><code>
2016-02-23 20:16:10 +03:00
export PATH=/path/to/cling/bin:$PATH
cd src/tools/cling/tools/Jupyter/kernel/
pip install -e .
# or: pip3 install -e .
# register the kernelspec:
jupyter-kernelspec install [--user] cling
# or: jupyter kernelspec install [--user] cling
2016-02-25 17:46:30 +03:00
</code></pre>
2016-02-23 20:16:10 +03:00
To run it:
2016-02-25 17:46:30 +03:00
<pre><code>
2016-02-23 20:16:10 +03:00
jupyter-notebook
# or: jupyter notebook
2016-02-25 17:46:30 +03:00
</code></pre>
2016-02-23 20:16:10 +03:00
</div>
</div>
2016-07-20 18:16:21 +03:00
<iframe seamless class="footer" src="footer.html"></iframe>
2016-02-23 20:16:10 +03:00
</body>
</html>