python-sutime报错:the JSON object must be str, bytes or bytearray, not ‘java.lang.String‘
出现的问题使用sutime包时报错:the JSON object must be str, bytes or bytearray, not ‘java.lang.String’解决方法在sutime.py 中最后是这样的: return json.loads(self._sutime.annotate(input_str, reference_date))return json.loads(self._sutime.annotate(input_str))将其改为: return json
原创
2021-12-30 15:41:47 ·
372 阅读 ·
0 评论