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

Metaclass TypeError #253

Closed
simomounir opened this issue Feb 27, 2023 · 2 comments
Closed

Metaclass TypeError #253

simomounir opened this issue Feb 27, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@simomounir
Copy link

TypeError: metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases

To Reproduce

Steps to reproduce the behavior:

  1. I am using Python 3.9 under a windows 10 machine
  2. Spapros is pip-installable without issues
  3. when trying "import spapros as sp" I get the error described above. Where does this error come from? Stacktrace provides this info:

Expected behavior
importing the spapros package with success and managing to at least run "print(f"spapros=={sp.version}")"

System

  • OS: [Windows 10 pro]
  • Language Version: [e.g. Python 3.9]
  • No virtual environment.

Additional context

@simomounir simomounir added the bug Something isn't working label Feb 27, 2023
@LouisK92
Copy link
Collaborator

thx for opening. can reproduce the error - i guess some new dependency issue. will look into it

LouisK92 added a commit that referenced this issue Feb 27, 2023
This was referenced Feb 27, 2023
@LouisK92
Copy link
Collaborator

Should be fixed now with the new release (0.1.2).

Wrt your code snippet pls try

import spapros as sp
print(f"spapros=={sp.__version__}")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants