How to open ipynb files

https://github.com/zlotus/notes-linear-algebra After downloading, the decompressed file is in ipynb format, which requires a special method to open.

How to open ipynb files

by installing anaconda

Anaconda contains a large number of scientific computing packages, including ipython and jupyter, which can be used to open ipython files after installation. The installation method is:  download the installation file of the corresponding python version from the official website . I downloaded the version of python2.7 here. Then enter Installation command: 
bash Anaconda2-4.3.1-Linux-x86_64.sh

By installing ipython and jupyter

This method is the same as the above method, except that you need to manually install ipython and jupyter. The installation command is as follows:

sudo pip install ipython --upgrade
sudo pip install jupyter

how to use

Then just type in the terminal:

# 切换到文件目录
c80k2@c80k2-Vostro-3667❯~$ cd ~/下载/notes-linear-algebra-master

You can open the current directory in the browser, you can switch the directory to select the ipynb file you want to open, and double-click to view the file content.

c80k2@c80k2-Vostro-3667❯~/下载$ jupyter notebook
[I 13:47:52.639 NotebookApp] Writing notebook server cookie secret to /run/user/1000/jupyter/notebook_cookie_secret
[I 13:47:53.165 NotebookApp] Serving notebooks from local directory: /home/c80k2/下载
[I 13:47:53.166 NotebookApp] 0 active kernels
[I 13:47:53.166 NotebookApp] The Jupyter Notebook is running at:
[I 13:47:53.166 NotebookApp] http://localhost:8888/?token=7ab32f26f9d6dff054a20867bbcb15a7bf92b9bf578a7e8d
[I 13:47:53.166 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 13:47:53.167 NotebookApp] 
    
    Copy/paste this URL into your browser when you connect for the first time,
    to login with a token:
        http://localhost:8888/?token=7ab32f26f9d6dff054a20867bbcb15a7bf92b9bf578a7e8d
[I 13:47:53.712 NotebookApp] Accepting one-time-token-authenticated connection from 127.0.0.1
已在现有的浏览器会话中创建新的窗口。
[I 13:48:05.645 NotebookApp] Writing notebook-signing key to /home/c80k2/.local/share/jupyter/notebook_secret
[W 13:48:05.647 NotebookApp] Notebook notes-linear-algebra-master/chapter01.ipynb is not trusted
[I 13:48:05.923 NotebookApp] Kernel started: bdfb3567-49d6-48f7-b410-08c011c41bf4
[I 13:48:07.042 NotebookApp] Adapting to protocol v5.1 for kernel bdfb3567-49d6-48f7-b410-08c011c41bf4
[I 13:50:06.701 NotebookApp] Saving file at /notes-linear-algebra-master/chapter01.ipynb
[W 13:50:06.702 NotebookApp] Notebook notes-linear-algebra-master/chapter01.ipynb is not trusted
[I 15:32:53.587 NotebookApp] Starting buffering for bdfb3567-49d6-48f7-b410-08c011c41bf4:71a8ec54ec3b48b08c0c1ea0f62ae897

Open as follows:

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325165840&siteId=291194637