错误处理

virtualenv

报错: 在中文文件夹中

unicodeDecodeError: 'ascii' codec can't decode byte 0xe6 in position 17

解决: 找到 /usr/bin/python2.7/sitecustomize.py文件, 加入下面代码

import sys
sys.setdefaultencoding('utf-8')

相关文章:

  • 2021-12-16
  • 2021-08-18
  • 2021-05-31
  • 2021-07-25
  • 2022-01-16
  • 2021-09-20
猜你喜欢
  • 2022-01-15
  • 2021-12-21
  • 2021-12-05
  • 2021-05-04
  • 2021-10-30
  • 2021-12-25
  • 2021-05-27
相关资源
相似解决方案