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

conda uninstall PIL
conda install Pillow

5. Start jupyter notebook.

jupyter notebook

 

posted on 2020-01-08 10:40  xsgluozi  阅读(223)  评论(0编辑  收藏  举报