twint icon indicating copy to clipboard operation
twint copied to clipboard

error twint requires python version 3.6+

Open jusoooo opened this issue 3 years ago • 4 comments

python version error

Initial Check

If the issue is a request please specify that it is a request in the title (Example: [REQUEST] more features). If this is a question regarding 'twint' please specify that it's a question in the title (Example: [QUESTION] What is x?). Please only submit issues related to 'twint'. Thanks.

Make sure you've checked the following:

  • [] Python version is 3.6;
  • [] Updated Twint with pip3 install --user --upgrade -e git+https://github.com/twintproject/twint.git@origin/master#egg=twint;
  • [] I have searched the issues and there are no duplicates of this issue/question/request.

Command Ran

twint -s pineapple

Description of Issue

my python version is 3.10.2 but when i run command to test it,my terminal shows twint requires python version 3.6+.

Environment Details

Using Mac OS, Running in Terminal?

jusoooo avatar Feb 03 '22 14:02 jusoooo

Same here on windows11.

zhaochunqi avatar Feb 03 '22 15:02 zhaochunqi

Quick fix (for now):

Head over to $HOME/.local/lib/python3.10/site-packages/twint and edit the cli.py file by commenting out the following lines:

image

haidar47x avatar Mar 09 '22 01:03 haidar47x

That works for now. Thanks @heyzsh

Lyton505 avatar May 01 '22 11:05 Lyton505

didnt fix for me

Dexz0 avatar Feb 27 '23 21:02 Dexz0