Upstream bug report: https://github.com/tensorflow/tensorflow/issues/42596 Simple fix: https://github.com/tensorflow/tensorflow/commit/bad835f9af3f1e1e04f1ea69db902add1b5076f9 Users can safely add that line to /usr/lib/$python/site-packages/tensorflow/python/__init__.py manually to avoid rebuilding tensorflow if it's already installed.
I already added that to 2.3.1-r1 patches/0012-Re-add-pywrap_tensorflow-import-in-python-__init__.p.patch Can you re-test that version again? (it wasnt in 2.3.1-r0)
Oh, I didn't see the out-of-tree patches. I'm still on -r0 because I have bi-weekly meetings with a student and it takes longer than half a week to recompile. I'm sure it's fine, thanks!