smart-test-ti / SoloX

💯SoloX - Real-time collection tool for Android/iOS performance data.(Android性能测试android performance\iOS性能测试ios performance\移动端性能测试mobile performance\APP性能测试app performance\app性能测试工具)
https://smart-test-ti.github.io/solox
MIT License
994 stars 177 forks source link

无法启动Solox #67

Closed Wangdenan closed 2 years ago

Wangdenan commented 2 years ago

启动日志: Traceback (most recent call last): File "C:\Users\wangdenan1\AppData\Local\Programs\Python\Python37\lib\runpy.py", line 193, in _run_module_as_main "main", mod_spec) File "C:\Users\wangdenan1\AppData\Local\Programs\Python\Python37\lib\runpy.py", line 85, in _run_code exec(code, run_globals) File "C:\Users\wangdenan1\AppData\Local\Programs\Python\Python37\lib\site-packages\solox__main.py", line 2, in from solox.web import main File "C:\Users\wangdenan1\AppData\Local\Programs\Python\Python37\lib\site-packages\solox\web.py", line 12, in from solox.view.apis import api File "C:\Users\wangdenan1\AppData\Local\Programs\Python\Python37\lib\site-packages\solox\view\apis.py", line 4, in from flask import request, make_response File "C:\Users\wangdenan1\AppData\Local\Programs\Python\Python37\lib\site-packages\flask__init.py", line 4, in from . import json as json File "C:\Users\wangdenan1\AppData\Local\Programs\Python\Python37\lib\site-packages\flask\json\init__.py", line 8, in from ..globals import current_app File "C:\Users\wangdenan1\AppData\Local\Programs\Python\Python37\lib\site-packages\flask\globals.py", line 57, in _cv_app, unbound_message=_no_app_msg TypeError: init__() got an unexpected keyword argument 'unbound_message' 麻烦大佬看看,感谢!

rafa0128 commented 2 years ago

之前自己有装过flask吗?看看这两个模块的版本flask、Werkzeug,建议都卸载了,重装一遍solox(会自动带适合的版本)

Wangdenan commented 2 years ago

已解决,谢谢