mzdluo123 / SanforProxy

基于深信服vpn的web登录接口实现的第三方代理客户端
2 stars 1 forks source link

大佬,这个用python什么版本呀,centos依赖安不上,windows启动不了。。。 #1

Open jason1235 opened 3 years ago

jason1235 commented 3 years ago

C:\SanforProxy>mitmweb -k -s main.py Traceback (most recent call last): File "c:\program files\python\lib\runpy.py", line 193, in _run_module_as_main "main", mod_spec) File "c:\program files\python\lib\runpy.py", line 85, in _run_code exec(code, run_globals) File "C:\Program Files\python\Scripts\mitmweb.exe__main.py", line 5, in <mo dule> File "c:\program files\python\lib\site-packages\mitmproxy\init__.py", line 9 , in asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy()) AttributeError: module 'asyncio' has no attribute 'WindowsSelectorEventLoopPolic y'

mzdluo123 commented 3 years ago

可能是Python版本问题,请使用3.7及以上版本