Due to Installing Ray — Ray 2.3.1, here’s how I install it on a Macbook M1 chip.
conda create python=3.8 -n NAME_OF_ENV
pip install -U prefect
pip install -U prefect-ray
pip uninstall grpcio
conda install grpcio==1.43.0 -y
pip install protobuf==3.20.0