![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Python生产遇到的坑和学习记录
文章平均质量分 51
小雏菊的成长
大数据开发,搬砖人
展开
-
使用ReactPy报错:RuntimeError: No built-in server implementation installed.解决
raise RuntimeError("No built-in server implementation installed.")RuntimeError: No built-in server implementation installed.原创 2023-06-14 10:15:04 · 634 阅读 · 0 评论 -
解决Python报错:TypeError: the JSON object must be str, bytes or bytearray, not ‘NoneType‘
Traceback (most recent call last): File "/home/admin/apps/*-*-sync/task/__init__.py", line 114, in run for data in self.index_data(): File "/home/admin/apps/*-*-sync/task/huahuo/*_*_sync.py", line 72, in index_data data = self.make_field_true(r原创 2022-11-11 09:34:44 · 3787 阅读 · 0 评论 -
生产环境json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line x column x
本篇博客是python生产环境下报错:`json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 1 column 2 (char 1)`的解决方案,和错误ValueError: dictionary update sequence element #0 has length 1; 2 is required的解决方案,后者是字符串的字典转换为字典出了问题,所以需要用eval方法来将字符串的字典原创 2022-11-03 16:12:18 · 2433 阅读 · 0 评论