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.83k stars 2.73k forks source link

AttributeError: module 'twint' has no attribute 'Config' #1408

Open Mvvvxie opened 2 years ago

Mvvvxie commented 2 years ago

Issue Template

I have just finished my Final Year Project, an Online Abuse Detector featuring Twint and Tensorflow.js, but upon downloading the code and reinstalling twint it all fell apart again. I remember fixing this issue whilst developing my prototype for my dissertation, but I completely forgot how to do so

Command Ran

import twint c = twint.Config()

c.Search = "great"

twint.run.Search(c)

Description of Issue

Traceback (most recent call last): File "C:\Users\maxsh\Desktop\ATAT\main.py", line 5, in twint.Config().Search = "great" AttributeError: module 'twint' has no attribute 'Config'

Process finished with exit code 1

sjafroudi commented 2 years ago

I am having the same problem. I had it working for a bit but then randomly started to get the same error mentioned above.

I tried uninstalling then reinstalling using Git and got the following error:

Screen Shot 2022-05-27 at 2 46 38 PM

There doesn't seem to be a pyproject.toml file anywhere in the repo.