原文:解決redis.exceptions.DataError: Invalid input of type: 'QiubaiproItem'. Convert to a bytes, string, int or float first.

原因:Python的第三方庫redis升級到 . 后僅接受用戶數據為字節 字符串或數字 整數,長整數和浮點數 。嘗試將鍵或值指定為任何其他類型將引發DataError異常。 結果:回退redis 第三方庫 版本,命令:pip install redis . . ...

2020-07-05 23:04 0 818 推薦指數:

查看詳情

 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM