paddlenlp安装报错: subprocess.CalledProcessError
问题
安装paddlenlp报错: subprocess.CalledProcessError
python3 -m pip install --upgrade paddlenlp -i https://mirror.baidu.com/pypi/simple
解决方案
- 检查是否是依赖包seqeval出错
pip install seqeval
- 如果是,升级setuptools和pip, 再重新安装seqeval
python -m pip install --upgrade setuptools
python -m pip install --upgrade pip
pip install setuptools-scm
pip install seqeval
- 安装paddlenlp
python3 -m pip install --upgrade paddlenlp -i https://mirror.baidu.com/pypi/simple