-
Notifications
You must be signed in to change notification settings - Fork 977
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
Every time while i call r.html.render() , it tell me error "This event loop is already running" #140
Comments
Same here, happens in Jupyter, not if running from the Python prompt. |
This is due to |
I said we wait until async version go out (almost there). Right now schedule a coroutine and wait for its result is kind of tricky. So far |
This code is not designed to be run from within an existing event loop, currently. |
Thanks. |
For those discovering this later, you'll find discussion here. The recommended workaround is to use nest_asyncio, which in my limited testing will allow |
hi guys when i trying this code >>> r.html.render() |
is it that I can't use Jupyter if I need the html.render method? |
hi guys when i trying this code >>> r.html.render() |
I post this after 6 days I found solutions, You just need to change the way you're connecting to google because chromiun file is not downloaded correctly in some way you can't reach the ZIP file, I used TOR browser and bypass all connection and them voila chrome zip file is downloading right now it's about 136mb, "r.html.render()" is working right now. |
I face exactly the same issue, but I do not understand your workaround. Could you be more specific? |
just run your script with torsocks
or you can set tor socks5 proxy for it |
Just bypass connections although tor
The problem is you can't reach the package to install the render
Tell me if you use window I can help you
El jue., 10 de junio de 2021 3:41 p. m., pako-github <
***@***.***> escribió:
… I post this after 6 days I found solutions, You just need to change the
way you're connecting to google because chromiun file is not downloaded
correctly in some way you can't reach the ZIP file, I used TOR browser and
bypass all connection and them voila chrome zip file is downloading right
now it's about 136mb, "r.html.render()" is working right now.
I face exactly the same issue, but I do not understand your workaround.
Could you be more specific?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#140 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AP2YFN3TXPRKB7XWES46D2LTSEIPFANCNFSM4EVWZYDA>
.
|
I wrote code like this:
I used this to get data from website, and found it had to load javascript, so i wrote the following:
it gave message like the below:
but i checked the html resource, it did not change.
so i tried again and again, but it did report the same error. And the chromium started by it stop to response.
These code run on jupyter notebook OS: mac OSX 10.12.6 python: 3.6.2
I don't know what happened and how to resolve it.
The text was updated successfully, but these errors were encountered: