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.68k stars 2.71k forks source link

[ERROR] AttributeError: module 'twint' has no attribute 'config' #510

Open reneenoguera opened 5 years ago

reneenoguera commented 5 years ago

Initial Check

-My python version is 3.7 -I'm running on windows 10 enterprise -I cant update using "pip3 install --user --upgrade -e git+https://github.com/twintproject/twint.git@origin/master#egg=twint`;" - I tried pip install and it says "Invalid Requirement: 'twint'".

Command Ran

import twint c = twint.config() c.Geo = "48.880048,2.385939,1km" c.Output = "paris.csv" c.Store_csv = True

twint.run.Search(c)

Description of Issue

This is the error I'm getting. Traceback (most recent call last):

File "", line 1, in c = twint.config()

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

I checked the twint folder and it contains config.py. I don't understand why it keeps saying it has no attribute called config. I'm new to python so apologies if I missed anything.

Environment Details

I'm running this on Windows 10 Enterprise version 1803, I'm running this in Anaconda Navigator 1.9.6, on Spyder (Python 3.7).

I really hope you can help thank you!

pielco11 commented 5 years ago

It's probably a typo. The correct way is c = twint.Config() and not c = twint.config()

Rafia13 commented 4 years ago

not working ... i have the same error.. need help!!

pielco11 commented 4 years ago

@Rafia13 what's not working?

ilanb1996 commented 4 years ago

not working ... i have the same error.. need help!!

Could you please copy here the code that causing you the error and the error? also provide information about your enviroment (OS, python version)