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

Mac OS error #34

Open
Teicu opened this issue Jan 10, 2020 · 5 comments
Open

Mac OS error #34

Teicu opened this issue Jan 10, 2020 · 5 comments

Comments

@Teicu
Copy link

Teicu commented Jan 10, 2020

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
Copy link
Owner

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
Copy link
Author

Teicu commented Jan 13, 2020

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
Copy link
Author

Teicu commented Jan 13, 2020

[+] 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
Copy link
Author

Teicu commented Jan 13, 2020

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
Copy link
Collaborator

PSNAppz commented Jan 13, 2020

Try this manually

pip install cement==2.10.2

or

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

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