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

Problem installation #1

Open
devilmen80 opened this issue Dec 18, 2020 · 5 comments
Open

Problem installation #1

devilmen80 opened this issue Dec 18, 2020 · 5 comments

Comments

@devilmen80
Copy link

Hello mate.
I am facing problem in installation.

I am getting this after cloning repository:

apkbleach -h 127 ⨯
Traceback (most recent call last):
File "/usr/local/bin/apkbleach", line 33, in
sys.exit(load_entry_point('apkbleach', 'console_scripts', 'apkbleach')())
File "/usr/local/bin/apkbleach", line 25, in importlib_load_entry_point
return next(matches).load()
File "/usr/lib/python3.9/importlib/metadata.py", line 77, in load
module = import_module(match.group('module'))
File "/usr/lib/python3.9/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 680, in _load_unlocked
File "", line 790, in exec_module
File "", line 228, in _call_with_frames_removed
File "/root/ApkBleach/src/apkbleach/main.py", line 8, in
from .bleach import ApkBleach
File "/root/ApkBleach/src/apkbleach/bleach.py", line 8, in
from argparse import argparse, RawTextHelpFormatter
ImportError: cannot import name 'argparse' from 'argparse' (/usr/lib/python3.9/argparse.py)

Can you help me??

Thanks!

@graylagx2
Copy link
Owner

graylagx2 commented Dec 18, 2020 via email

@graylagx2
Copy link
Owner

graylagx2 commented Dec 18, 2020 via email

@devilmen80
Copy link
Author

I fixed the problem it was a bad import of argparse On Fri, Dec 18, 2020 at 6:22 AM grant getzfrid grantgetzfrid@gmail.com wrote:

It looks like you're trying to run as root. If that's true do not run as root. Everything should be ran and stored as user On Fri, Dec 18, 2020 at 12:32 AM devilmen80 @.***> wrote: > Hello mate. > I am facing problem in installation. > > I am getting this after cloning repository: > > apkbleach -h 127 ⨯ > Traceback (most recent call last): > File "/usr/local/bin/apkbleach", line 33, in > sys.exit(load_entry_point('apkbleach', 'console_scripts', 'apkbleach')()) > File "/usr/local/bin/apkbleach", line 25, in importlib_load_entry_point > return next(matches).load() > File "/usr/lib/python3.9/importlib/metadata.py", line 77, in load > module = import_module(match.group('module')) > File "/usr/lib/python3.9/importlib/init.py", line 127, in import_module > return _bootstrap._gcd_import(name[level:], package, level) > File "", line 1030, in _gcd_import > File "", line 1007, in _find_and_load > File "", line 986, in _find_and_load_unlocked > File "", line 680, in _load_unlocked > File "", line 790, in exec_module > File "", line 228, in _call_with_frames_removed > File "/root/ApkBleach/src/apkbleach/main.py", line 8, in > from .bleach import ApkBleach > File "/root/ApkBleach/src/apkbleach/bleach.py", line 8, in > from argparse import argparse, RawTextHelpFormatter > ImportError: cannot import name 'argparse' from 'argparse' > (/usr/lib/python3.9/argparse.py) > > Can you help me?? > > Thanks! > > — > You are receiving this because you are subscribed to this thread. > Reply to this email directly, view it on GitHub > <#1>, or unsubscribe > https://github.com/notifications/unsubscribe-auth/AMEUD27X2OAT6HSXJNLABOLSVMHRFANCNFSM4VA3D34Q > . >

Thanks mate All Is ok now! Sorry for the late...but im very busy:)
I tryed to download now and It works perfect!
Just to thanks You for this.

Regards!

@jmijim
Copy link

jmijim commented Jul 6, 2022

Traceback (most recent call last):
File "/usr/local/bin/apkbleach", line 33, in
sys.exit(load_entry_point('apkbleach', 'console_scripts', 'apkbleach')())
File "/home/kali/ApkBleach/src/apkbleach/main.py", line 64, in main
start.bleach_apk()
File "/home/kali/ApkBleach/src/apkbleach/bleach.py", line 241, in bleach_apk
with open(f'{self.decompiled_path}/AndroidManifest.xml', 'r+') as manifest:
FileNotFoundError: [Errno 2] No such file or directory: '/home/kali/ApkBleach/src/apkbleach/res/Cache/Decompiled/AndroidManifest.xml'

@jmijim
Copy link

jmijim commented Jul 6, 2022

help me i am facing the error

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