解决安装lanms-neo问题

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

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 4
    评论
评论 4
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值