yuewang-cuhk / TAKG

The official implementation of ACL 2019 paper "Topic-Aware Neural Keyphrase Generation for Social Media Language"
https://www.aclweb.org/anthology/P19-1240
MIT License
154 stars 33 forks source link

OSError: [WinError 126] #13

Closed yuqiangha-art closed 3 years ago

yuqiangha-art commented 3 years ago

Excuse me,It took me a long time to solve this problem。Is it the version of the library?Do you have a requirements.txt Traceback (most recent call last): File "C:/study/TAKG-master/preprocess.py", line 6, in import gensim File "C:\Users\yuqiang\AppData\Roaming\Python\Python36\site-packages\gensim__init.py", line 5, in from gensim import parsing, corpora, matutils, interfaces, models, similarities, summarization, utils # noqa:F401 File "C:\Users\yuqiang\AppData\Roaming\Python\Python36\site-packages\gensim\parsing__init__.py", line 4, in from .preprocessing import (remove_stopwords, strip_punctuation, strip_punctuation2, # noqa:F401 File "C:\Users\yuqiang\AppData\Roaming\Python\Python36\site-packages\gensim\parsing\preprocessing.py", line 42, in from gensim import utils File "C:\Users\yuqiang\AppData\Roaming\Python\Python36\site-packages\gensim\utils.py", line 40, in import scipy.sparse File "C:\APP\Python\lib\site-packages\scipy\init.py", line 104, in from . import _distributor_init File "C:\APP\Python\lib\site-packages\scipy_distributor_init.py", line 61, in WinDLL(os.path.abspath(filename)) File "C:\APP\Python\lib\ctypes\init.py", line 348, in init__ self._handle = _dlopen(self._name, mode) OSError: [WinError 126] 找不到指定的模块。