当前位置: 首页 > 工具软件 > NEO > 使用案例 >

解决安装lanms-neo问题

宫元徽
2023-12-01

pip install lanms-neo 报错

报错信息如下
ERROR: Command errored out with exit status 1: /opt/anaconda3/bin/python /opt/anaconda3/lib/python3.8/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-9dca1pnb/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.tuna.tsinghua.edu.cn/simple – ‘setuptools>=42’ wheel ‘pybind11>=2.6.1’ numpy Check the logs for full command output

环境如下:Ubuntu20.04, python3.8.5, 安装mmocr时出现问题

解决办法:
更换anaconda版本至python3.8.8对应版本,重新pip

继续报错:Could not build wheels for xx which use PEP 517 and cannot be installed directly

随后更新gcc和g++至9.4.0问题解决

PS:中间还遇到一个pyproject的问题,百度一下即可解决

 类似资料: