Skip to content
This repository has been archived by the owner on Feb 6, 2021. It is now read-only.

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

Open
ghost opened this issue Oct 21, 2018 · 1 comment

Comments

@ghost
Copy link

ghost commented Oct 21, 2018

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

Lense commented Oct 21, 2018

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

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

No branches or pull requests

1 participant