美文网首页
jupyter notebook error

jupyter notebook error

作者: uurr | 来源:发表于2021-06-08 12:18 被阅读0次

    UnicodeDecodeError: 'ascii' codec can't decode byte 0xe5 in position 4: ordinal not in range(128)

    1. vim ~/.bashrc
    adding
    2. export LANG=en_US:UTF-8
    3. export LANGUAGE=en_US:en
    4. source ~/.bashrc
    

    这样jupyter notebook 解决了,但是终端里会显示不了中文,所以,我把它创造性的改成

    2. export LANG=zh_CN.UTF-8
    3. unchanged
    

    problem solved

    相关文章

      网友评论

          本文标题:jupyter notebook error

          本文链接:https://www.haomeiwen.com/subject/fngdeltx.html