- 默认是python2,在tensorflow中需要python3:
source activate tensorflow
conda install notebook ipykernel
ipython kernel install --user
- 不同环境中不同版本的kernel控制:
source activate myenv
python -m ipykernel install --user --name myenv --display-name "Python (myenv)"
source activate other-env
python -m ipykernel install --user --name other-env --display-name "Python (other-env)"