https://github.com/zlotus/notes-linear-algebra 下载后解压的文件为ipynb格式,须要特殊方法才能打开。python
anaconda包含大量的科学计算包,其中就包含ipython 和jupyter,安装以后便可用其打开ipython文件.安装方式为: 官网下载相应python版本的安装文件,我这里下载的是python2.7的版本.而后输入安装命令:
bash Anaconda2-4.3.1-Linux-x86_64.sh
git
该方法与上面方法相同,只是须要手动安装ipython和jupyter,安装命令以下:github
sudo pip install ipython --upgrade sudo pip install jupyter
接下来只须要在终端中输入:浏览器
# 切换到文件目录 c80k2@c80k2-Vostro-3667❯~$ cd ~/下载/notes-linear-algebra-master
便可在浏览器中打开当前目录,能够经过切换目录来选择所要打开的ipynb文件,双击便可查看文件内容.bash
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
打开以下:cookie