yellowbrick 1.2.1 requires scikit-learn<0.24,>=0.20, 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 scikit-learn
conda install -c anaconda scikit-learn