androwarn icon indicating copy to clipboard operation
androwarn copied to clipboard

NameError: name 'sys' is not defined

Open harshitSingh1 opened this issue 1 year ago • 2 comments

┌──(root㉿kali)-[/home/kali/Desktop/androwarn-master] └─# python androwarn.py -i /home/kali/Desktop/ig-learner-master.zip -r html -v 3 Traceback (most recent call last): File "/home/kali/Desktop/androwarn-master/warn/search/application/application.py", line 28, in import play_scraper ModuleNotFoundError: No module named 'play_scraper'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/home/kali/Desktop/androwarn-master/androwarn.py", line 34, in from warn.search.search import grab_application_package_name File "/home/kali/Desktop/androwarn-master/warn/search/search.py", line 33, in from warn.search.application.application import * File "/home/kali/Desktop/androwarn-master/warn/search/application/application.py", line 30, in sys.exit("[!] The play-scraper module is not installed, please install it and try again") ^^^ NameError: name 'sys' is not defined

harshitSingh1 avatar Sep 25 '23 07:09 harshitSingh1

Thank you for pointing this "sys" import bug.

Please install these python dependencies: https://github.com/maaaaz/androwarn/blob/master/requirements.txt

maaaaz avatar Sep 25 '23 20:09 maaaaz

pip2 install play_scraper==0.4.0

The latest version of play_scraper 0.6.0 did not work for me and gave me the same error you encountered. Try 0.4.0

TARZH3N avatar Feb 29 '24 20:02 TARZH3N