Prepare with python 3.9.x Create and activate virtual environment. python3 -m venv --system-site-packages py_venv source py_venv/bin/activate pip3 install tensorflow==2.15.0