Skip to content
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

Python3.7.7 运行的时候报错,并且项目里没有main2.py这个文件 #109

Open
GangYe293 opened this issue Dec 25, 2024 · 2 comments

Comments

@GangYe293
Copy link

fanqie

错误日志如下:
D:\软件安装包\fanqienovel-downloader-main\src>python server.py
Traceback (most recent call last):
File "server.py", line 5, in
from flask_socketio import SocketIO, emit
File "C:\Users\wangj\AppData\Local\Programs\Python\Python37\lib\site-packages\flask_socketio_init_.py", line 52, in
class SocketIO:
File "C:\Users\wangj\AppData\Local\Programs\Python\Python37\lib\site-packages\flask_socketio_init_.py", line 168, in SocketIO
reason = socketio.Server.reason
AttributeError: type object 'Server' has no attribute 'reason'

D:\软件安装包\fanqienovel-downloader-main\src>

希望大佬可以帮忙看看,谢谢了

@sunnysab
Copy link

可以使用更新版本的 python 吗?我这边 python3.12、3.13 正常

@GangYe293
Copy link
Author

可以使用更新版本的 python 吗?我这边 python3.12、3.13 正常

可以试试,可为什么项目里没有main2.py啊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants