I reinstalled tensorflow (with pip -U in the existing venv) and now the error is gone, which is great. Unfortunately, I didn’t make a backup of the venv before doing the pip operation so I cannot debug any further to find the root cause