It looks like gurobi is not properly installed. Maybe.
Assuming you did “pip install coopr” and did not create a virtualized python environment…
Can you simple try to bring up the python interpreter and type “import gurobipy”? I suspect you should have the same problem there.
I know Gurobi is somewhat sensitive to the python version on MacOS. In any case, please report the results of the experiment indicated above.
jpw