Python3.13在PaddleClas运行适配问题报错1:AttributeError: module 'pkgutil' has no attribute 'ImpImporter'. Did you mean: 'zipimporter'?pkgutil的ImpImporter在Python3.13已经弃用了,但是旧版Numpy依然会尝试使用,所以导致了这个错误。参考Issue而PaddleClas的requirements很久没有更新过,所以会在安装依赖的过程中遇到...
While trying to installpy-ardunder Python 3.12, I bumped intonumpy/numpy#23808(see log below). The issue should be resolved innumpyv1.26.0or newer: