恰好有一个帖子提到了py3.10里面的解决方案
pip install --user tensorflow==2.11.0
My tensorflow version is 2.11.0 and my tensorflow_decision_forests version is 1.2.0 so those should be compatible.
I also am using Python version 3.10.11
原文链接:
https://discuss.tensorflow.org/t/cant-import-tensorflow-decision-forests-getting-notfounderror/16612
另外一个帖子
https://community.deeplearning.ai/t/failure-to-load-the-inference-so-custom-c-tensorflow-ops-this-error-is-likely-caused-the-version-of-tensorflow-and-tensorflow-decision-forests-are-not-compatible/533833