cannot import name 'SchemaJit'
vklap opened this issue · comments
Victor Klapholz commented
Hi,
When defining the Jit in the Meta class:
class BaseSchema(Schema):
class Meta:
jit = toastedmarshmallow.Jit
Then I can the following error at runtime:
ImportError: cannot import name 'SchemaJit'
Thanks
Smith Mathieu commented
what was the resolution here? I'm running into the same issue with
toastedmarshmallow==0.2.6
marshmallow==2.15.3
Victor Klapholz commented
I think that you should make sure you import only toastedmarshmallow - becuase toastedmarshmallow already forked/copied mashmallow inside its code base.
So, hopefully if you run the following uninstall and install commands, then it should work:
pip uninstall marshmallow==2.15.3
pip install toastedmarshmallow==0.2.6