twint icon indicating copy to clipboard operation
twint copied to clipboard

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

Open Mvvvxie opened this issue 4 years ago • 1 comments

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

Mvvvxie avatar Apr 29 '22 09:04 Mvvvxie

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.

sjafroudi avatar May 27 '22 22:05 sjafroudi