Skip to content

import name 'CeilTimeout' from 'aiohttp.helpers' #6

Closed
@minamotorin

Description

@minamotorin

Some users report that the error import name 'CeilTimeout' from 'aiohttp.helpers' happend with recent aiohttp.
And they said that the solution is using old aiohttp (v3.7.0).

However, the problem doesn't occur for me.
Surely, it seems that aiohttp.helpers.CeliTimeout was removed since aiohttp v3.8.0, but other codes of aiohttp were also updated to stop using aiohttp.helpers.CeliTimeout.
aiohttp.helpers.CeliTimeout might inner code of aiohttp and it might have to be called by only from aiohttp.
Twint doesn't call aiohttp.helpers.CeliTimeout directly.

So I think this is a wrong installation problem of users.
Maybe also python -c 'import aiohttp' causes the error.
Try pip install --force-reinstall aiohttp.

In my environment, twint works with also both aiohttp v3.8.0 and v3.8.1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions