Mac Install Jupyter, it is recommended to install pyenv to manage your Python version and establish an independent working environment.
Directory
1. Jupyter Introduction (source Baidu Encyclopedia)
2. Jupyter Installation
3. Test and change the root directory of Jupyter
1. Jupyter Introduction (source Baidu Encyclopedia)
Jupyter Notebook (formerly known as IPython Notebook) is an interactive notebook that supports the running of more than 40 programming languages.
The essence of Jupyter notebook is a WEB application that facilitates the creation and sharing of document documentation for the literature, supporting real-time code, mathematical equations, visualization and markdown. Applications include: Data cleansing and conversion, numerical simulation, statistical modeling, machine learning, and so on.
2. Jupyter installation
First get into your Python environment, like my environment is env363. Command: pyenv Activate env363
and Pip install Jupyter on it.
3. Test and change the root directory of Jupyter
into your Python environment.
Run command: Jupyter notebook
The following screen can be seen:
To change the root directory:
into your Python environment
Run command: Jyputer notebook--generate-config
is generated in the/users/lilihan/.jupyter directory
jupyter_notebook_config.py file
Open File Find C.notebookapp.notebook_dir set this value to your directory, for example, my: C. Notebookapp.notebook_dir = '/users/lilihan/documents/jupyter_workpalce '
Remember to remove the front of the # annotation , I this wise ...