-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
zsh: command not found: twint #1071
Comments
https://github.com/rachmadaniHaryono/twint/tree/feature/main can you try that and run twint help command like this |
I get these error, WSL-Ubuntu: |
can you install it with after install, try example of the output pip show output
notice that there is
it seems your env have python3 instead python so i will change the instruction based on python3 from now on |
In WSL-Ubuntu:Name: twint Version: 2.1.21 Summary: An advanced Twitter scraping & OSINT tool. Home-page: https://github.com/twintproject/twint Author: Cody Zacharias Author-email: [email protected] License: MIT Location: /home/neo/.local/lib/python3.8/site-packages Requires: aiohttp-socks, pysocks, googletransx, pandas, aiohttp, dataclasses, schedule, elasticsearch, fake-useragent, beautifulsoup4, cchardet, aiodns, geopy Required-by: Files: ../../../bin/twint twint-2.1.21.dist-info/INSTALLER twint-2.1.21.dist-info/LICENSE twint-2.1.21.dist-info/METADATA twint-2.1.21.dist-info/RECORD twint-2.1.21.dist-info/WHEEL twint-2.1.21.dist-info/dependency_links.txt twint-2.1.21.dist-info/entry_points.txt twint-2.1.21.dist-info/top_level.txt twint/__init__.py twint/__main__.py twint/__pycache__/__init__.cpython-38.pyc twint/__pycache__/__main__.cpython-38.pyc twint/__pycache__/__version__.cpython-38.pyc twint/__pycache__/cli.cpython-38.pyc twint/__pycache__/config.cpython-38.pyc twint/__pycache__/datelock.cpython-38.pyc twint/__pycache__/feed.cpython-38.pyc twint/__pycache__/format.cpython-38.pyc twint/__pycache__/get.cpython-38.pyc twint/__pycache__/output.cpython-38.pyc twint/__pycache__/run.cpython-38.pyc twint/__pycache__/token.cpython-38.pyc twint/__pycache__/tweet.cpython-38.pyc twint/__pycache__/url.cpython-38.pyc twint/__pycache__/user.cpython-38.pyc twint/__pycache__/verbose.cpython-38.pyc twint/__version__.py twint/cli.py twint/config.py twint/datelock.py twint/feed.py twint/format.py twint/get.py twint/output.py twint/run.py twint/storage/__init__.py twint/storage/__pycache__/__init__.cpython-38.pyc twint/storage/__pycache__/db.cpython-38.pyc twint/storage/__pycache__/elasticsearch.cpython-38.pyc twint/storage/__pycache__/panda.cpython-38.pyc twint/storage/__pycache__/write.cpython-38.pyc twint/storage/__pycache__/write_meta.cpython-38.pyc twint/storage/db.py twint/storage/elasticsearch.py twint/storage/panda.py twint/storage/write.py twint/storage/write_meta.py twint/token.py twint/tweet.py twint/url.py twint/user.py twint/verbose.py In VMWare-Kali:Name: twint Version: 2.1.21 Summary: An advanced Twitter scraping & OSINT tool. Home-page: https://github.com/twintproject/twint Author: Cody Zacharias Author-email: [email protected] License: MIT Location: /home/kali/src/twint Requires: aiodns, aiohttp, aiohttp-socks, beautifulsoup4, cchardet, dataclasses, elasticsearch, fake-useragent, geopy, googletransx, pandas, pysocks, schedule Required-by: Files: Cannot locate installed-files.txt |
check your PATH env var on wsl ubuntu, for example with this command path
notice there is you can run twint with for kali, try list files on installed location with |
for path:/bin/mnt/c/MinGW/bin /mnt/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/DAL /mnt/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common /mnt/c/Program Files (x86)/VMware/VMware Workstation/bin/ /mnt/c/Program Files/Git/cmd /mnt/c/Program Files/Intel/Intel(R) Management Engine Components/DAL /mnt/c/Program Files/JetBrains/IntelliJ IDEA Community Edition 2020.2/bin /mnt/c/Program Files/Microsoft VS Code/bin /mnt/c/Program Files/NVIDIA Corporation/NVIDIA NvDLISR /mnt/c/Users/r46j/AppData/Local/Microsoft/WindowsApps /mnt/c/Users/r46j/AppData/Local/Programs/Python/Python39/ /mnt/c/Users/r46j/AppData/Local/Programs/Python/Python39/Scripts/ /mnt/c/Windows /mnt/c/Windows/System32/OpenSSH/ /mnt/c/Windows/System32/Wbem /mnt/c/Windows/System32/WindowsPowerShell/v1.0/ /mnt/c/Windows/system32 /mnt/c/adb_fastboot/platform-tools_r30.0.5-windows/platform-tools /sbin /usr/bin /usr/games /usr/local/bin /usr/local/games /usr/local/sbin /usr/sbin for On Kali, for |
wsl ubuntu as expected there is no for example i put these lines on export PYTHON_BIN_PATH="$(python3 -m site --user-base)/bin"
export PATH="$PATH:$PYTHON_BIN_PATH" which will add python bin path to PATH.
this already meant you can already run twint. run you can put alias to this or change PATH as stated above kali linux kali is a weird one. i got the same files on the location mean it is either the entire repo or files from the package the next step maybe check python bin path |
Thanks, now its working in WSL-Ubuntu In Kali, |
maybe it is the same problem with PATH env var try doing the same check just like you did on ubuntu and add the same config to |
I already tried it, it's not working. |
on kali
|
output:/bin /sbin /usr/bin /usr/games /usr/local/bin /usr/local/games /usr/local/sbin /usr/sbin
|
based on that and your last post, it mean the path is not changed you can try other thing you can do is to set up alias, for example |
output::219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject :219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject :219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject usage: python3 twint [options] TWINT - An Advanced Twitter Scraping Tool. optional arguments: Still same error in Kali, after add the
|
It is working in WSL-Ubuntu, that's enough for now, I'm still learning Linux & Python. Thank you. Edit: When I install Arch again, I'll add same .zshrc config & will check it. |
sorry that it still doesn't work on kali last word after issue closed
i also have no idea why |
Today Installed Arch, after adding Thank you |
pip3 install --user --upgrade -e git+https://github.com/twintproject/twint.git@origin/master#egg=twint
;Command Ran
Description of Issue
Environment Details
Have same issue in:
The text was updated successfully, but these errors were encountered: