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

TypeError: Error when calling the metaclass bases #2416

Closed
ghost opened this issue Jan 27, 2018 · 2 comments
Closed

TypeError: Error when calling the metaclass bases #2416

ghost opened this issue Jan 27, 2018 · 2 comments

Comments

@ghost
Copy link

ghost commented Jan 27, 2018

After installing everything which was mentioned at https://github.com/tgalal/yowsup under Installation
I typed the following command yowsup-cli registration --help

Traceback (most recent call last):
  File "/usr/local/bin/yowsup-cli", line 6, in <module>
    from yowsup.env import YowsupEnv
  File "/usr/local/lib/python2.7/dist-packages/yowsup/env/__init__.py", line 1, in <module>
    from .env import YowsupEnv
  File "/usr/local/lib/python2.7/dist-packages/yowsup/env/env.py", line 15, in <module>
    class YowsupEnv(with_metaclass(YowsupEnvType, object)):
  File "/usr/lib/python2.7/abc.py", line 87, in __new__
    cls = super(ABCMeta, mcls).__new__(mcls, name, bases, namespace)
TypeError: Error when calling the metaclass bases
    metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases

can somebody help me please?

Repository owner deleted a comment from ZetDeveloper Jan 29, 2018
@infinisil
Copy link

infinisil commented Feb 13, 2018

Same error as reported in #2351, #2325 and #2259. Solutions include:

@ghost ghost closed this as completed Feb 27, 2018
@ghost
Copy link
Author

ghost commented Feb 27, 2018

@infinisil Thank you for your help, it was very useful.

This issue was closed.
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

1 participant