codeif / qcos

腾讯云对象存储库,支持命令行
MIT License
2 stars 0 forks source link

使用pip install qcos安装时,会报错 #1

Closed mtooooo closed 2 years ago

mtooooo commented 2 years ago

File "setup.py", line 5, in readme = f.read() UnicodeDecodeError: 'gbk' codec can't decode byte 0xae in position 21: illegal multibyte sequence

1.报错的代码行: with open("README.rst") as f: readme = f.read() 2.将代码改为: with open("README.rst", encoding='utf-8') as f: readme = f.read()

codeif commented 2 years ago

多谢, 已改