mkusner / wmd

Word Mover's Distance from Matthew J Kusner's paper "From Word Embeddings to Document Distances"
537 stars 132 forks source link

no moudle named multiarray #2

Closed fresher05 closed 8 years ago

fresher05 commented 8 years ago

I have installed numpy and in the shell,when I type "import numpy.core.multiarray",it's ok. I don't know why this problem appear?

luoyj@luoyj-Lenovo-M490:~/wmd-master$ python wmd.py twitter_vec.pk twitter_wmd_d.pk Traceback (most recent call last): File "wmd.py", line 11, in [X, BOW_X, y, C, words] = pickle.load(f) File "/usr/lib/python2.7/pickle.py", line 1378, in load return Unpickler(file).load() File "/usr/lib/python2.7/pickle.py", line 858, in load dispatchkey File "/usr/lib/python2.7/pickle.py", line 1090, in load_global klass = self.find_class(module, name) File "/usr/lib/python2.7/pickle.py", line 1124, in find_class import(module) ImportError: No module named multiarray