Pip install -r requirements.txt fails with AttributeError: cython_sources

One of the instructions in the course-ds-bse readme file:

pip install -r requirements.txt fails with an AttributeError: cython_sources

All the previous step in the readme have worked fine. I’m setting up my project on a Mac book pro m1 laptop.

Has anyone else come across this error?

I found this thread ( Error installing Pyyaml==5.4, Cython_sources ) online which as a similar error.