ToB企服应用市场:ToB评测及商务社交产业平台

标题: chatgpt~bingAI帮我解决flask错误 [打印本页]

作者: 鼠扑    时间: 2023-6-1 09:48
标题: chatgpt~bingAI帮我解决flask错误
出错信息
  1. 我使用flask时,运行后出现下面的错误:Traceback (most recent call last):
  2.   File "D:/github/lind-python/test-web.py", line 1, in <module>
  3.     from flask import Flask
  4.   File "C:\Users\User\AppData\Local\Programs\Python\Python36\lib\site-packages\flask\__init__.py", line 14, in <module>
  5.     from jinja2 import escape
  6.   File "C:\Users\User\AppData\Local\Programs\Python\Python36\lib\site-packages\jinja2\__init__.py", line 9, in <module>
  7.     from .bccache import BytecodeCache
  8.   File "C:\Users\User\AppData\Local\Programs\Python\Python36\lib\site-packages\jinja2\bccache.py", line 24, in <module>
  9.     from .utils import open_if_exists
  10.   File "C:\Users\User\AppData\Local\Programs\Python\Python36\lib\site-packages\jinja2\utils.py", line 41, in <module>
  11.     _slash_escape = "\\/" not in json.dumps("/")
  12. AttributeError: module 'json' has no attribute 'dumps'
  13. Process finished with exit code 1
复制代码
BingAI的解释

[code]你好,这是Bing。
免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!




欢迎光临 ToB企服应用市场:ToB评测及商务社交产业平台 (https://dis.qidao123.com/) Powered by Discuz! X3.4