Install Jupyter notebook and tensorflow on Ubuntu 18.04

1. Install conda environment following instructions here. https://www.digitalocean.com/community/tutorials/how-to-install-anaconda-on-ubuntu-18-04-quickstart

2. Create tensorflow environment by run command.

conda create --name tensorflow_env python=3

3. Activate the tensorflow environment by run command.

conda activate tensorflow_env

4. Install tensorflow and jupytor notebook in the tensorflow_env.

conda install tensorflow
conda install jupyter notebook
conda install matplotlib

5. Start jupyter notebook.

jupyter notebook

 

Guess you like

Origin www.cnblogs.com/shengguang/p/12165333.html