Closed shantanuaggarwal2695 closed 4 years ago
I am unable to import snorkel.learning module due to assertion error in a numbskull package
import numbskull
Error: def init(self, module, ftype, name): --> 594 assert isinstance(ftype, types.Type) 595 super(Function, self).init(module, ftype.as_pointer(), name=name) 596 self.ftype = ftype
AssertionError:
The package should get imported
Add any other context about the problem here.
This is not the current version of snorkel- numbskull has not been a dependency for several years. I would try upgrading to the current version!
snorkel
Issue description
I am unable to import snorkel.learning module due to assertion error in a numbskull package
Code example/repro steps
import numbskull
Error: def init(self, module, ftype, name): --> 594 assert isinstance(ftype, types.Type) 595 super(Function, self).init(module, ftype.as_pointer(), name=name) 596 self.ftype = ftype
AssertionError:
Expected behavior
The package should get imported
Screenshots
System info
Additional context
Add any other context about the problem here.