安装PPOCRLabel时,输入
python PPOCRLabel.py --lang ch
出现以下错误:
RuntimeError: module compiled against API version 0x10 but this version of numpy is 0xf . Check the section C-API incompatibility at the Troubleshooting ImportError section at https://numpy.org/devdocs/user/troubleshooting-importerror.html#c-api-incompatibility for indications on how to solve this problem .
ImportError: numpy.core.multiarray failed to import
解决办法:升级numpy,安装最新版本
pip install -U numpy