On the github page the banner shows, that scalene is compatible to python 3.11. The package on Pypi.org still does not allow installation for python 3.11. Is this done by mistake and not updated on ...
Create a requirements.txt that contains both albumentations and opencv-python. Create and activate an empty virtual environment pip install -r requirements.txt ...