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.2k stars 1.98k forks source link

AttributeError: module 'collections' has no attribute 'callable' #939

Open alinapervaiz3 opened 8 months ago

alinapervaiz3 commented 8 months ago

I'm getting this error when entering "Python3 main.py " I'm Trying onsintgram for insta hacking. But it got stuck here. Help me with this. I've Python 3.10 version along with necessary software "pip" downloaded for it. this is last process in procedure and it's not working. I am using windows 10 for this OSINTgram setup.

Ashraf-wan commented 8 months ago

Some people also report having trouble using python3.10 with collection so just update your python version or use docker to run the app

pallmallvs commented 8 months ago

the problem is that pyreadline lib is using collections Callable, since it is moved to abc.Callablle , we need to change it go to appdata / local / programs/ python /python(version)/ lib/site-packages/pyreadline/py3k_compat.py and edit return isinstance(x , collections.Callable) to return isinstance(x , collections.abc.Callable)

Aruljothi21 commented 6 months ago

Same error when I run nosetests using terminal in ubuntu 22.04. Python version is 3.10.12. How can I fix in ubuntu 22.04?

Emmoloks commented 6 months ago

Same error when I run nosetests using terminal in ubuntu 22.04. Python version is 3.10.12. How can I fix in ubuntu 22.04?

Hey did you find the solution

dimas-adi-kris commented 1 month ago

I'm using 3.11 and it still error. I'm using windows

dimas-adi-kris commented 1 month ago

I try using ubuntu 22.04 with python 3.10

got raise ClientError(error_msg, http_error.code, error_response) instagram_private_api.errors.ClientError: Not Found