Using the Notebook Terminal Function

For developers who are used to coding, the terminal function is very convenient and practical. This section describes how to enable the terminal function in a notebook instance and switch the engine environment in the terminal.

Enabling the Notebook Terminal Function

  1. In the notebook instance list, click Open in the Operation column of the target notebook instance to go to the Jupyter Notebook page.
  2. On the Files tab page of the Jupyter page, click New and select Terminal. The Terminal page is displayed.
    Figure 1 Going to the Terminal page

Switching Engine Environments on the Terminal

You can switch to another AI engine environment in the terminal environment of Jupyter.

  1. Create and open a notebook instance or open an existing notebook instance in the notebook instance list.
  2. On the Files tab page of the Jupyter page, click New and select Terminal. The Terminal page is displayed.
  3. You can switch environments by following README in the current directory. For example, run the source /home/ma-user/anaconda3/bin/activate TensorFlow-1.8 command to switch to the TensorFlow-1.8 environment and develop a notebook instance. To exit, run the source deactivate command.
    Figure 2 Running the command