解决安装lanms-neo问题

解决安装lanms-neo问题,第1张

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的问题,百度一下即可解决

欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/langs/916389.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2022-05-16
下一篇2022-05-16

发表评论

登录后才能评论

评论列表(0条)

    保存