如何安装kashgari模块ERROR: Could not build wheels for gensim, which is required to install pyproject.toml-based projects
时间: 2023-11-10 18:02:24 浏览: 165
Python库 | kashgari-2.0.0a2.tar.gz
5星 · 资源好评率100%
可以尝试以下方法安装kashgari模块:
1. 先升级pip版本:`pip install --upgrade pip`
2. 然后安装依赖库:`pip install -U setuptools wheel`
3. 最后安装kashgari:`pip install kashgari`
如果还是出现类似的错误提示,可以尝试在安装之前升级gensim:`pip install --upgrade gensim`
阅读全文