snorkel-team / snorkel

A system for quickly generating training data with weak supervision
https://snorkel.org
Apache License 2.0
5.81k stars 857 forks source link

ModuleNotFoundError: No module named 'snorkel.labeling' #1601

Closed soumya-ranjan-sahoo closed 4 years ago

soumya-ranjan-sahoo commented 4 years ago

I installed snorkel using conda and when I try to run - from snorkel.labeling import labeling_function it throws the following error - ModuleNotFoundError: No module named 'snorkel.labeling'.

I tried looking up for a solution on Github, but unfortunately, I couldn't follow through. I have also tried installing nb_conda_kernels, to make all your conda environments available in jupyter but it didn't help. Also tried creating a separate env, installing snorkel and launching jupyter notebook from the snorkel's environment, and it didn't work either. Any form of help is much appreciated!

bhancock8 commented 4 years ago

Hmm, let's collect a few more details.

soumya-ranjan-sahoo commented 4 years ago

I was able to troubleshoot the issue. Thanks for your support :)

soumya-ranjan-sahoo commented 4 years ago

I was able to troubleshoot the issue. Thanks for your support :)