SDK配置没问题,测试通过了已经
with open('file/test.mp3') as f:
avatar = leancloud.File('fileFromLocalFile', f)
avatar.save()
提示错误
Traceback (most recent call last):
File "E:/amEar/amEar.py", line 20, in <module>
avatar = leancloud.File('fileFromLocalFile', f)
File "C:\Users\12565\AppData\Local\Programs\Python\Python37\lib\site-packages\leancloud\file_.py", line 74, in __init__
chunk = data.read(4096)
UnicodeDecodeError: 'gbk' codec can't decode byte 0xff in position 33: illegal multibyte sequence