ModuleNotFoundError: No module named 'tagger'

  • 测试代码github链接如下

  • 导包

    from __future__ import print_function
    import os, codecs
    #from itertools import izip
    izip = zip
    from tagger import data_iterator
    
  • 编译出错
    ModuleNotFoundError: No module named 'tagger'

  • 然后pip install tagger
    出现这个问题:
    Could not find a version that satisfies the requirement rdflib==2.3.1events (from tagger) (from versions: 2.4.1, 2.4.2, 3.0.0, 3.1.0, 3.2.0, 3.2.1, 3.2.2, 3.2.3, 3.4.0, 4.0, 4.0.1, 4.1.0, 4.1.1, 4.1.2, 4.2.0, 4.2.1, 4.2.2)
    No matching distribution found for rdflib==2.3.1events (from tagger)

请问是什么问题