
上QQ阅读APP看书,第一时间看更新
Installing Jupyter Notebook
We are going to use Jupyter notebooks to write our Python code. So, we need to install the jupyter package first from a Python prompt with >>> pip install jupyter, and then launch the Jupyter Notebook app in the browser using >>> jupyter notebook. From there, we can create new Python notebooks and choose a kernel. If we use Anaconda, we do not need to install Jupyter explicitly; the latest Anaconda distribution comes with Jupyter.
More about running Jupyter notebooks can be found at http://jupyter-notebook-beginner-guide.readthedocs.io/en/latest/execute.html.
We can even install a Python package from inside a notebook cell; for example, we can install scipy with the !pip install scipy command.
For more information on installing Jupyter, please refer to http://jupyter.readthedocs.io/en/latest/install.html.