For those who also encountered this problem on Mac M1 (as I found that most solutions are on windows), I tried the solution here:
and it works! I am so happy!