pip install tensorflow==2.12.0. There are any references about pip install tensorflow==2.12.0 in here. you can look below.