...
On MacOS, a rust compiler is needed and some compiler flags need to be passed for the installation of some packages to succeed:
$ brew install rust$rust
$ env LDFLAGS="-L$(brew --prefix openssl@3)/lib" CFLAGS="-Wno-error=implicit-function-declaration -I$(brew --prefix openssl@3)/include" pip3 install -r requirements.txt
...