ModuleNotFoundError: No module named ‘’

  debugging, nlp, python, pytorch

I am to trying import BucketIterator using

from import BucketIterator

in Google colab.But it is raising the same error again and again-

"ModuleNotFoundError: No module named ‘"

After installing allennlp the imports like:

from import TokenIndexer, SingleIdTokenIndexer

from import CharacterTokenizer

from import Vocabulary

from allennlp.modules.seq2vec_encoders import PytorchSeq2VecWrapper

are working fine.
Is there a way to solve this issue?

Source: Python Questions

One Reply to “ModuleNotFoundError: No module named ‘’”