constverum / ProxyBroker

Proxy [Finder | Checker | Server]. HTTP(S) & SOCKS :performing_arts:
http://proxybroker.readthedocs.io
Apache License 2.0
3.85k stars 1.08k forks source link

CFFI Error #156

Open alx2002 opened 4 years ago

alx2002 commented 4 years ago

image When running proxybroker find --types HTTP HTTPS --lvl High --countries US --strict -l 10

pgeorgef commented 4 years ago

https://stackoverflow.com/questions/58422817/jupyter-notebook-with-python-3-8-notimplementederror check this out, the second answer. As far as I'm aware that's the issue https://github.com/tornadoweb/tornado/issues/2608

AndreVallestero commented 4 years ago

I'm also getting a similar error: image

@pgeorgef 's answer seems to be correct. It looks like it's an issue specific to python 3.8. Editing asyncio\__init__.py or downgrading to python 3.7 are workarounds for the issue.

tlghndeniz commented 4 years ago

C:\Python\Python38\Lib\asyncio__init__.py

**From**

if sys.platform == 'win32':  # pragma: no cover
    from .windows_events import *
    __all__ += windows_events.__all__
else:
    from .unix_events import *  # pragma: no cover
    __all__ += unix_events.__all__

**To**

if sys.platform == 'win32':
    from .windows_events import *
    asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy())
    __all__ += windows_events.__all__
else:
    from .unix_events import *  # pragma: no cover
    __all__ += unix_events.__all__