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