openstackM版创建云主机'ascii' codec can't decode byte 0xe5 in position 0: ordinal not in range(128)].

OpenStack 创建云主机时报错 'ascii' codec can't decode byte 0xe5 in position 0: ordinal not in range(128)

img

我尝试更换了编码方式
在 cd /usr/lib/python2.7/site-packages/目录下新建一个文件sitecustomize.py
写入

sitecustomize.py

this file can be anywhere in your Python path,

but it usually goes in ${pythondir}/lib/site-packages/

import sys

sys.setdefaultencoding('utf-8')
原文链接为: https://blog.csdn.net/weixin_54628931/article/details/123063140
但是依旧没有用

@指剑 大佬 我做的时您的M版可以看一下什么问题嘛