dorneanu / smalisca

Static Code Analysis for Smali files
Other
316 stars 76 forks source link

AttributeError: module 'cement.core.controller' has no attribute 'CementBaseController' #26

Open ghost opened 5 years ago

ghost commented 5 years ago

Python version: 3.6 (anaconda)

After I did pip install smalisca and run smalisca, it shows:

py36  tmp  smalisca --help Traceback (most recent call last): File "/Users/hoangdang/anaconda2/envs/py36/bin/smalisca", line 34, in <module> from smalisca.core.smalisca_main import SmaliscaApp, smalisca_signal_handler File "/Users/hoangdang/anaconda2/envs/py36/lib/python3.6/site-packages/smalisca/core/smalisca_main.py", line 39, in <module> from smalisca.controller.controller_base import BaseController File "/Users/hoangdang/anaconda2/envs/py36/lib/python3.6/site-packages/smalisca/controller/controller_base.py", line 40, in <module> class BaseController(controller.CementBaseController): AttributeError: module 'cement.core.controller' has no attribute 'CementBaseController'

Lense commented 5 years ago

It's probably because your version of cement is too new. cement 3.x has breaking changes, so try downgrading cement to 2.x.