abhi-r3v0 / Adhrit

Android Security Suite for in-depth reconnaissance and static bytecode analysis based on Ghera benchmarks.
https://www.hawkspawn.com/Adhrit
GNU General Public License v3.0
537 stars 129 forks source link

Mac OS error #34

Open Teicu opened 4 years ago

Teicu commented 4 years ago

Hi all

any help to solve this issue please?

Thank you

Traceback (most recent call last): File "adhrit.py", line 17, in from recons.smarser.parser import parser File "/Users/x/Adhrit/recons/smarser/parser.py", line 4, in from smalisca.core.smalisca_main import SmaliscaApp File "/usr/local/lib/python3.7/site-packages/smalisca/core/smalisca_main.py", line 39, in from smalisca.controller.controller_base import BaseController File "/usr/local/lib/python3.7/site-packages/smalisca/controller/controller_base.py", line 40, in class BaseController(controller.CementBaseController): AttributeError: module 'cement.core.controller' has no attribute 'CementBaseController'

abhi-r3v0 commented 4 years ago

Hi @Teicu

Thanks for reporting the issue. This is an error with the Cement library which has been giving everyone a hard time. We're trying to find a permanent solution for this. But meanwhile, you can downgrade the Cement version and try (this has helped previously). For help, refer to the installer.py file and the previously reported issues.

Regards

Teicu commented 4 years ago

Hi mate

thank you for your answer.

I have already installed cement 2.10.12 and deleted all others version, but seems useless. I get the same error :(

[+] Installation of Android tools complete [+] Installed PrettyTable [+] Installed requests [+] Installed progressbar2 [+] Installed colorama [+] Installed urllib3 [+] Installed Jinja2 [+] Installed r2pipe [+] Installed smalisca [+] Installed cement==2.10.12

Teicu commented 4 years ago

[+] Installation of Android tools complete [+] Installed PrettyTable [+] Installed requests [+] Installed progressbar2 [+] Installed colorama [+] Installed urllib3 [+] Installed Jinja2 [+] Installed r2pipe [+] Installed smalisca [+] Installed cement==2.10.12

[+] Installation of MacOS dependencies complete. Check with 'python3 adhrit.py -h' Pentest@x Adhrit % python3 adhrit.py -h Traceback (most recent call last): File "adhrit.py", line 17, in from recons.smarser.parser import parser File "/Users/x/Adhrit/recons/smarser/parser.py", line 4, in from smalisca.core.smalisca_main import SmaliscaApp File "/usr/local/lib/python3.7/site-packages/smalisca/core/smalisca_main.py", line 38, in from smalisca.core.smalisca_logging import log File "/usr/local/lib/python3.7/site-packages/smalisca/core/smalisca_logging.py", line 36, in from cement.ext.ext_logging import LoggingLogHandler ModuleNotFoundError: No module named 'cement'

Teicu commented 4 years ago

Pentest@x Adhrit % sudo pip install cement==2.10.12

Requirement already satisfied: cement==2.10.12 in /Library/Python/3.7/site-packages (2.10.12)

so wtf

PSNAppz commented 4 years ago

Try this manually

pip install cement==2.10.2

or

pip3 install cement==2.10.2 (if you are using pip3 for python3)