参照https://blog.csdn.net/qq_36362060/article/details/78579780进行了TensorFlow和jupyter notebook的安装,在安装完jupyter notebook后点击launch(就是图中的launch),会出现UnicodeDecoderError。
解决方案:
在~/python2.7/site-packages下新建一个py文件,内容为:
import sys
sys.setdefaultencoding('UTF-8')
保存,再点击jupyter notebook下的Launch。不报错。
之后在Anaconda的安装目录下打开终端,输入jupyter notebook即可启动了。