TimDettmers / ConvE

Convolutional 2D Knowledge Graph Embeddings resources
MIT License
675 stars 163 forks source link

ImportError: No module named bashmagic #1

Closed vanzytay closed 7 years ago

vanzytay commented 7 years ago

Hey!

First of all, a really great thanks for open sourcing your code. I was trying to run the code but ran into some issues with dependencies.

Traceback (most recent call last):
  File "main.py", line 16, in <module>
    from spodernet.preprocessing.pipeline import Pipeline, DatasetStreamer
  File "/home/username/ConvE/src/spodernet/spodernet/preprocessing/pipeline.py", line 9, in <module>
    from spodernet.preprocessing.vocab import Vocab
  File "/home/username/ConvE/src/spodernet/spodernet/preprocessing/vocab.py", line 9, in <module>
    import bashmagic
ImportError: No module named bashmagic

Would appreciate if you can provide some insight to how to solve this issue.

Many thanks!

gsp2014 commented 7 years ago

You can just remove "import bashmagic".

TimDettmers commented 7 years ago

I forgot to add that dependency. It should now be working from the get-go.