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

Getting error when running from pip install #116

Open
bitpoke-YT opened this issue Jan 19, 2023 · 5 comments
Open

Getting error when running from pip install #116

bitpoke-YT opened this issue Jan 19, 2023 · 5 comments

Comments

@bitpoke-YT
Copy link

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'

@ziloka
Copy link

ziloka commented Jan 20, 2023

hm I can't seem to reproduce this on linux.. not sure if it would matter
proxybroker2_logs.txt

@bitpoke-YT
Copy link
Author

I get in after running proxybroker find --types HTTP HTTPS --lvl High --countries US --strict -l 10

@anon88391
Copy link

Proxybroker2 doesn't work on Windows because of changes to asyncio in Python 3.8.
Same issue as mine: #113

@mthbrown
Copy link

mthbrown commented Feb 1, 2023

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

@bluet
Copy link
Owner

bluet commented Feb 12, 2023

related #89

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

5 participants