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.65k stars 2.72k forks source link

Question: Issues while installing twint #906

Open pl1996 opened 3 years ago

pl1996 commented 3 years ago

Hello,

I am using Windows 10 and installed Ubuntu to install twint. I create my username and password in bash and entered the following to install twint:

$ pip3 install twint

Command 'pip3' not found, but can be installed with:

sudo apt install python3-pip

$ sudo apt install python3-pip [sudo] password for pauline: Reading package lists... Done Building dependency tree Reading state information... Done Package python3-pip is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

E: Package 'python3-pip' has no installation candidate

I then get the error message (I am using Python 3.8) above and I tested other solutions which I saw in several forums but it still does not work. I also tested that one:

I ran: sudo nano /etc/apt/sources.list

and then add those to my list: deb http://archive.ubuntu.com/ubuntu bionic main universe deb http://archive.ubuntu.com/ubuntu bionic-security main universe deb http://archive.ubuntu.com/ubuntu bionic-updates main universe

and then I run: sudo apt update sudo apt install python3-pip

but this all did not work.

It would be nice if anyone could help me :)

kaaper599 commented 3 years ago

This isn't a twint related issue however you can try the following. If not I suggest taking this to stackexchange as it is related to Python 3 setup and configuration.

Standard install: sudo apt-get update -y && sudo apt-get -y install python3-pip Alternate method #1:

curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py"
python3 get-pip.py --user

Alternate method #2: curl -sS https://bootstrap.pypa.io/get-pip.py | sudo python

You can also use python3 -m pip install module_name if you have multiple versions of python installed.

pl1996 commented 3 years ago

It does not work, but thanks a lot! I will post this question in stackexchange.

Moh600 commented 3 years ago

Hello,

I'm having the same issue here, password is required when data is being retrieved .