Create a new python virtual environment by Anaconda or just use pip in your python environment and then clone this repository as following.
git clone https://github.com/charlesLucky/CropAlignFace.git
cd IoMArcFace
conda env create -f environment.yml
conda activate mtcnn-tf2
pip install -r requirements.txt