在 jupyter notebook 和 ubuntu 终端中使用 import spacy 时获取 "ModuleNotFoundError"?

Getting "ModuleNotFoundError" while using import spacy in jupyter notebook and in ubuntu terminal?

在 jupyter notebook 和 Ubuntu 终端中使用 spacy 时,我收到一条错误消息:

谁能告诉我这是什么问题?

似乎 Spacy 依赖于 tqdm。 请安装 tqdm 并重启 Jupyter 内核。

conda 的安装:https://anaconda.org/conda-forge/tqdm

Pip 安装:https://pypi.org/project/tqdm/