Getting error when running from pip install
So i am getting this error on windows with the pip installed version of it.
With Python 3.11.1 Running this command proxybroker find --types HTTP HTTPS --lvl High --countries US --strict -l 10
I get this error
File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code File "C:\Users\mrmwg\AppData\Local\Programs\Python\Python311\Scripts\proxybroker.exe\__main__.py", line 7, in <module> File "C:\Users\mrmwg\AppData\Local\Programs\Python\Python311\Lib\site-packages\proxybroker\cli.py", line 380, in cli proxies = asyncio.Queue(loop=loop) ^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: Queue.__init__() got an unexpected keyword argument 'loop'
hm I can't seem to reproduce this on linux.. not sure if it would matter proxybroker2_logs.txt
I get in after running proxybroker find --types HTTP HTTPS --lvl High --countries US --strict -l 10
Proxybroker2 doesn't work on Windows because of changes to asyncio in Python 3.8. Same issue as mine: https://github.com/bluet/proxybroker2/issues/113
To get rid of this error, just use Python 3.8. You could technically remove this line to make the error go away, but I've found that serve is basically borked in Python 3.10 but works fine on Python 3.8
related https://github.com/bluet/proxybroker2/issues/89