-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathinstall_jupyter.html
18 lines (18 loc) · 1.46 KB
/
install_jupyter.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!DOCTYPE html><html><head><meta charset="utf-8"><title>install_jupyter.md</title></head><body><h1 id="installing-python-and-jupyter-notebooks">Installing Python and Jupyter Notebooks</h1>
<p>If you would like to install python on your computer I recommend installing <a href="https://docs.anaconda.com/miniconda/">Minconda</a> or <a href="https://www.anaconda.com/download/#macos">Anaconda</a>. It also has a simple a simple jupyter notebooks editor that works in a browser. </p>
<p>However, I recommend editing and running jupyter notebooks with microsoft's <a href="https://code.visualstudio.com/download">VS Code</a>. You can also run notebooks in google's <a href="https://colab.research.google.com">Colab</a> which requires not installation or notebooks.</p>
<p>On the UNIBO system you need to:</p>
<p>From the command line in your home directory:</p>
<p>1) install jupyter</p>
<pre><code>pip install jupyter --user
</code></pre><p>2) Make an alias for jupyter so that you don't need to type in the path every time you start it.</p>
<p>Create and open this file</p>
<pre><code>pico ~/.bash_aliases
</code></pre><p>In the pico editor add the line</p>
<pre><code>alias jupyter='~/.local/bin/jupyter'
</code></pre><p>and then save the file. (Ctr-x)</p>
<p>Now you need to re-source your .bashrc file. Type </p>
<pre><code>source .bashrc
</code></pre><p>If all went well you should be able to start with jupyter:</p>
<pre><code>jupyter notebook
</code></pre></body></html>