Skip to content

Instantly share code, notes, and snippets.

@rizar
Created April 2, 2018 02:55
Show Gist options
  • Save rizar/e526b3e9fe99d4704ea0e251b2a7cd70 to your computer and use it in GitHub Desktop.
Save rizar/e526b3e9fe99d4704ea0e251b2a7cd70 to your computer and use it in GitHub Desktop.
when I install pydmrs with pip
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-2-84c8d19d2bb4> in <module>()
----> 1 from shapeworld import Dataset
2
3 dataset = Dataset.create(dtype='agreement', name='multishape')
4 generated = dataset.generate(n=128, mode='train', include_model=True)
5
~/Dist/ShapeWorld/shapeworld/__init__.py in <module>()
----> 1 from shapeworld.dataset import Dataset
2
3
4 __all__ = ['Dataset']
~/Dist/ShapeWorld/shapeworld/dataset.py in <module>()
10 from shapeworld.world import World
11 from shapeworld.captioners import PragmaticalPredication
---> 12 from shapeworld.realizers import CaptionRealizer
13
14
~/Dist/ShapeWorld/shapeworld/realizers/__init__.py in <module>()
1 from shapeworld.realizers.realizer import CaptionRealizer
----> 2 from shapeworld.realizers.dmrs.realizer import DmrsRealizer
3
4
5 __all__ = ['CaptionRealizer', 'DmrsRealizer']
~/Dist/ShapeWorld/shapeworld/realizers/dmrs/__init__.py in <module>()
----> 1 from shapeworld.realizers.dmrs.dmrs import Dmrs
2 from shapeworld.realizers.dmrs.realizer import DmrsRealizer
3
4
5 __all__ = ['Dmrs', 'DmrsRealizer']
~/Dist/ShapeWorld/shapeworld/realizers/dmrs/dmrs.py in <module>()
13 from pydmrs.core import Link, ListDmrs
14 from pydmrs.graphlang.graphlang import parse_graphlang
---> 15 from pydmrs.mapping.paraphrase import paraphrase
16
17
ModuleNotFoundError: No module named 'pydmrs.mapping.paraphrase'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment