twintproject / twint

An advanced Twitter scraping & OSINT tool written in Python that doesn't use Twitter's API, allowing you to scrape a user's followers, following, Tweets and more while evading most API limitations.
MIT License
15.7k stars 2.72k forks source link

error when installing the tool #1332

Open ManuelBot59 opened 2 years ago

ManuelBot59 commented 2 years ago

error when installing the tool, I get this:

┌──(root💀tedd)-[/home/tedd/TOOLS/twint] └─# twint -s piña 1 ⨯ Traceback (most recent call last): File "/usr/local/bin/twint", line 5, in from twint.cli import run_as_command File "/root/.local/lib/python3.9/site-packages/twint/init.py", line 14, in from . import run File "/root/.local/lib/python3.9/site-packages/twint/run.py", line 4, in from . import datelock, feed, get, output, verbose, storage File "/root/.local/lib/python3.9/site-packages/twint/get.py", line 12, in from aiohttp_socks import ProxyConnector, ProxyType File "/usr/local/lib/python3.9/dist-packages/aiohttp_socks/init.py", line 5, in from .connector import ( File "/usr/local/lib/python3.9/dist-packages/aiohttp_socks/connector.py", line 8, in from aiohttp.helpers import CeilTimeout # noqa ImportError: cannot import name 'CeilTimeout' from 'aiohttp.helpers' (/usr/lib/python3/dist-packages/aiohttp/helpers.py)

hxyro commented 2 years ago

Try replacing aiohttp with aiohttp==3.7.0 in the first line of requeriments.txt

exiett commented 2 years ago

Try replacing aiohttp with aiohttp==3.7.0 in the first line of requeriments.txt

This worked just fine. Thank you.