1. Go to https://www.anaconda.com/download to download anaconda
  2. Open terminal and change directoray to where anaconda.sh is, then bash it.
1
bash Anaconda3-5.1.0-Linux-x86_64.sh
  1. Build anaconda environment named tensorflow
1
conda create --name tensorflow python=3
  1. Active tensorflow environment
1
source activate tensorflow
  1. Install tensorflow
1
pip install --ignore-installed --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.5.0-cp36-cp36m-linux_x86_64.whl
  1. To open anaconda-navigator
  2. Install jupyter notebook in home window
  3. Import environment-cpu.yml to Anaconda
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
name: tf-cpu
channels:
    - https://conda.anaconda.org/menpo
    - conda-forge
dependencies:
    - python==3.5.2
    - numpy
    - matplotlib
    - jupyter
    - opencv3
    - pillow
    - scikit-learn
    - scikit-image
    - scipy
    - h5py
    - eventlet
    - flask-socketio
    - seaborn
    - pandas
    - ffmpeg
    - imageio=2.1.2
    - pyqt=4.11.4
    - pip:
        - moviepy
        - tensorflow==1.4.0
        - keras==2.0.8
  1. Hit Environments in left column, run tf-cpu with jupyter notebook