Datalux / Osintgram

Osintgram is a OSINT tool on Instagram. It offers an interactive shell to perform analysis on Instagram account of any users by its nickname
GNU General Public License v3.0
9.77k stars 2.17k forks source link

Error on Import gnureadline and pyreadline #298

Open Sin-tinel opened 3 years ago

Sin-tinel commented 3 years ago

Error when running main.py.

1) pip install -r requirements.txt returns "Successfully installed gnureadline-8.0.0

2) then running python3 main.py some_username reports ..... line 13, in import gnureadline ModuleNotFoundError: No module named 'gnureadline' and reports ... line 16, in import pyreadline ModuleNotFoundError: No module named 'pyreadline'

Setup Info Python 3.9.2 (default, Feb 28 2021, 17:03:44) [GCC 10.2.1 20210110] on linux Distributor ID: Kali Description: Kali GNU/Linux Rolling Release: 2021.1 Codename: kali-rolling

Here are the Steps and output:

┌──(venv)(osint㉿tlosint)-[~/Osint_Tools/Instagram/Osintgram] └─$ sudo pip install -r requirements.txt Ignoring pyreadline: markers 'platform_system == "Windows"' don't match your environment Requirement already satisfied: requests==2.24.0 in /usr/local/lib/python3.9/dist-packages (from -r requirements.txt (line 1)) (2.24.0) Requirement already satisfied: requests-toolbelt==0.9.1 in /usr/lib/python3/dist-packages (from -r requirements.txt (line 2)) (0.9.1) Requirement already satisfied: geopy>=2.0.0 in /usr/local/lib/python3.9/dist-packages (from -r requirements.txt (line 3)) (2.1.0) Requirement already satisfied: prettytable==0.7.2 in /usr/local/lib/python3.9/dist-packages (from -r requirements.txt (line 4)) (0.7.2) Requirement already satisfied: instagram-private-api==1.6.0 in /usr/local/lib/python3.9/dist-packages (from -r requirements.txt (line 5)) (1.6.0.0) Collecting gnureadline>=8.0.0 Using cached gnureadline-8.0.0.tar.gz (3.1 MB) Requirement already satisfied: idna<3,>=2.5 in /usr/lib/python3/dist-packages (from requests==2.24.0->-r requirements.txt (line 1)) (2.10) Requirement already satisfied: chardet<4,>=3.0.2 in /usr/local/lib/python3.9/dist-packages (from requests==2.24.0->-r requirements.txt (line 1)) (3.0.4) Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /usr/local/lib/python3.9/dist-packages (from requests==2.24.0->-r requirements.txt (line 1)) (1.25.10) Requirement already satisfied: certifi>=2017.4.17 in /usr/lib/python3/dist-packages (from requests==2.24.0->-r requirements.txt (line 1)) (2020.6.20) Requirement already satisfied: geographiclib<2,>=1.49 in /usr/local/lib/python3.9/dist-packages (from geopy>=2.0.0->-r requirements.txt (line 3)) (1.50) Building wheels for collected packages: gnureadline Building wheel for gnureadline (setup.py) ... done Created wheel for gnureadline: filename=gnureadline-8.0.0-cp39-cp39-linux_x86_64.whl size=397564 sha256=9971230d60df91801102a144435fe729b9b7e6468b66a59d89e27620d8ac58e2 Stored in directory: /root/.cache/pip/wheels/92/f0/82/fdf808790452b6ceeea0f2586c5a34ddc23d24e57aed735a97 Successfully built gnureadline Installing collected packages: gnureadline Successfully installed gnureadline-8.0.0

┌──(venv)(osint㉿tlosint)-[~/Osint_Tools/Instagram/Osintgram] └─$ python3 main.py Osint Traceback (most recent call last): File "/home/osint/Osint_Tools/Instagram/Osintgram/main.py", line 13, in import gnureadline
ModuleNotFoundError: No module named 'gnureadline'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/home/osint/Osint_Tools/Instagram/Osintgram/main.py", line 16, in import pyreadline ModuleNotFoundError: No module named 'pyreadline'

┌──(venv)(osint㉿tlosint)-[~/Osint_Tools/Instagram/Osintgram] └─$

Tarrylim commented 3 years ago

could you send me that requirements.txt, I want to try install on my pc and check what happen