Environmental Science :
python 3.6.8
gensim == 4.2.0
import gensim when , The error report is shown in the title
Question why : because dataclasses stay python3.7 To support
Similar error reporting reference :ModuleNotFoundError: No module named 'dataclasses' · Issue #31 · facebookresearch/pytorch3d · GitHub
Solution : to gensim Downgrade
pip install gensim==3.8.3 -i https://pypi.mirrors.ustc.edu.cn/simple/
solve .