Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NameError: name 'sys' is not defined #35

Open
harshitSingh1 opened this issue Sep 25, 2023 · 2 comments
Open

NameError: name 'sys' is not defined #35

harshitSingh1 opened this issue Sep 25, 2023 · 2 comments

Comments

@harshitSingh1
Copy link

┌──(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

@maaaaz
Copy link
Owner

maaaaz commented Sep 25, 2023

Thank you for pointing this "sys" import bug.

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

@TARZH3N
Copy link

TARZH3N commented Feb 29, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants