yellowbrick 1.2.1 requires scikit-learn<0.24,>=0.20, but you have scikit-learn 0.24.0 which is incompatible. pycaret 2.2.3 requires scikit-learn==0.23.2, but you have scikit-learn 0.24.0 which is incompatible. code example
Example 1: install sklearn
pip install scikit-learn
Example 2: conda install sklearn 0.20
conda install scikit-learn=0.20