-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
您好,我调用接口服务器报以下错误,现在还能用吗? #14
Comments
我也是相同的错误,我的是Python3.6版本 |
我也是 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
作者您好,我不会python 这个现在还能用吗 服务器能启动,
我的平台是:windows10 、python 3.7.2
调用接口 :http://127.0.0.1:5000/?que=%E4%BD%A0%E6%98%AF%E8%B0%81
报以下错误:找不到文件
File "C:\Python\Python37\lib\site-packages\flask\json_init_.py", line 81, in default
return _json.JSONEncoder.default(self, o)
File "C:\Python\Python37\lib\json\encoder.py", line 179, in default
raise TypeError(f'Object of type {o.class.name} '
TypeError: Object of type FileNotFoundError is not JSON serializable
127.0.0.1 - - [30/Jan/2019 11:35:02] "GET / HTTP/1.1" 500 -
The text was updated successfully, but these errors were encountered: