我正在使用Python,Django,IDE PyCharm。我为项目导入了Gensim,但是,似乎Django无法识别它。这是我的版本: gensim-3.6.0 numpy-1.15.4 scipy-1.1.0 python 3.7.1
以下错误是:
Traceback (most recent call last):
File "C:/Users/Me/PycharmProjects/sma-capstone-2018/sma_core/brinfluence/lib/doc2vec.py", line 4, in <module>
import gensim
File "C:\Users\Me\venv\lib\site-packages\gensim\__init__.py", line 5, in <module>
from gensim import parsing, corpora, matutils, interfaces, models, similarities, summarization, utils # noqa:F401
File "C:\Users\Me\venv\lib\site-packages\gensim\parsing\__init__.py", line 4, in <module>
from .preprocessing import (remove_stopwords, strip_punctuation, strip_punctuation2, # noqa:F401
File "C:\Users\Me\venv\lib\site-packages\gensim\parsing\preprocessing.py", line 40, in <module>
from gensim import utils
File "C:\Users\Me\venv\lib\site-packages\gensim\utils.py", line 40, in <module>
import scipy.sparse
File "C:\Users\Me\venv\lib\site-packages\scipy\sparse\__init__.py", line 229, in <module>
from .csr import *
File "C:\Users\Me\venv\lib\site-packages\scipy\sparse\csr.py", line 15, in <module>
from ._sparsetools import csr_tocsc, csr_tobsr, csr_count_blocks, \
ImportError: DLL load failed: The specified module could not be found.