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] 找不到指定的模块。
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] 找不到指定的模块。