-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
[IMPORTERROR] cannot import name 'CeilTimeout' from 'aiohttp.helpers' #1297
Comments
yeah I got this issue also |
Me too |
Same issue here, fresh install on Ubuntu 20.04 shows the same error. ImportError: cannot import name 'CeilTimeout' from 'aiohttp.helpers' (/usr/local/lib/python3.8/dist-packages/aiohttp/helpers.py |
yeah I got this issue also |
got same issue, in file /usr/local/lib/python3.7/dist-packages/aiohttp_socks/connector.py comment line 8 "from aiohttp.helpers import CeilTimeout # noqa", it works fine afterwards |
To fix it you must to have fixed version on aiohttp. |
Thanks! that has fixed it. |
it works, thanks! |
It stil didn't change anything. First of all I uninstalled my |
Changing aiohttp to aiohttp==3.7.0 in the .txt file did not fix the issue for me either. |
Didn't work for me either, unfortunately. |
@danielleschn @wjd157 @cihanicelliler make sure you did Or maybe you can do |
|
Fixed this problem by installing directly aiohttp module on my environment using : |
The version of aiohttp is 3.7.0? my aiohttp is 3.8.1 and errors still exist. |
Okay the issue was that I needed to make sure I was installing it in the correct place and then rebuild the docker container, haha. |
So Conda environments (also python env) seems to have issues with twint config. So Tried on CLI. what worked for me is what @josx suggested so first I changed |
uninstall the aiohttp 3.8 and install aiohttp3.7 |
Thanks for your help, it solve the problem with me. |
thanks mate, it works |
Hey, Just tried to run this project and wasn't able to - provided a fix in #1323 - could be good to have it in Thanks, |
How to edit requirements.txt in aiohttps? Any youtube video on it? |
It's just a file - you can find detailed instructions here: https://www.jetbrains.com/help/pycharm/managing-dependencies.html#create-requirements Or you can clone my fork and it covers this update: https://github.com/adamlesniak/twint |
Trying to resolve the issue mention here: twintproject#1297 Followed the instruction to downgrade or set aiohttp version to 3.7.0 from aiohttp==3.8.1.
Thank you @josx . Came across this issue while trying to run twint in Github Actions with latest ubuntu version. |
First install this in a separate cell If still not working, restart the runtime and follow the same order. Sometimes restarting the runtime after installation works. |
same error, chaning to |
The last bit fixed it for me |
Command Ran
import twint
import nest_asyncio
nest_asyncio.apply()
c = twint.Config()
c.Username = "github"
Description of Issue
its about one month that i am using this repo and it was ok fetching tweets. but today it can't import twint (specifically the aiohttp.helpers and CeilTimeout ) and so i can't fetch any tweet. how can i fix this?
Environment Details
i'm using twint on google colab and this is the way i use the repo on colab:
!git clone --depth=1 https://github.com/twintproject/twint.git
%cd twint
!git pull origin master
!pip install -r requirements.txt
!python setup.py install
The text was updated successfully, but these errors were encountered: