欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

Linux中anaconda的命令不能使用

程序员文章站 2022-03-12 16:55:15
...
  File "/home/wb-zyk643222/anaconda3/lib/python3.7/site-packages/conda/_vendor/distro.py", line 934, in _get_lsb_release_info
    stdout, stderr = stdout.decode('utf-8'), stderr.decode('utf-8')
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd5 in position 24: invalid continuation byte

# 解决办法就是
vi /home/wb-zyk643222/anaconda3/lib/python3.7/site-packages/conda/_vendor/distro.py
# 把两个‘utf-8’改为‘gbk’
相关标签: 杂记