Macbook配置jupyter notebook python2环境下 python -m pip install --upgrade pippython -m pip install jupyter 之后输入jupyter notebook会有如下的报错: UnicodeDecodeError: ‘ascii’ codec can’t decode byte 0xe5 in position 4: ordinal not in range(128) 解决方案: 切换下语言:LANG=zn jupyter notebook Done