本文主要是介绍SystemError: CPUDispatcher returned a result with an error set,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
报错:SystemError: CPUDispatcher(<function _find_optimal_split_inner_loop at 0x7fa7db0e91e0>) returned a result with an error set
参考:This is likely due to an incompatibility between numba and numpy. Please make sure you are using the latest versions.
原因:numba 和 numpy 版本不兼容
解决:更新numba 和 numpy 的版本
pip install --upgrade numba
可能仍报错:ERROR: Cannot uninstall ‘llvmlite’. It is a distutils installed project.
此时参考:使用忽略参数安装python包,可解决
pip install --ignore-installed llvmlite
这篇关于SystemError: CPUDispatcher returned a result with an error set的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!