官网安装指导教程 https://spacy.io/usage 安装指令 需要根据自己系统的cuda版本选择 nvcc -V pip install -U pip setuptools wheel pip install -U 'spacy[cuda12x]' python -m spacy download zh_core_web_sm python -m spacy download en_core_web_sm