Sagemaker notebook instace: Kernel: Conda_pytorch_latest_p37
error: ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: ‘/home/ec2-user/anaconda3/envs/pytorch_latest_p37/lib/python3.7/site-packages/PyYAML-6.0.dist-info/METADATA’
Script: !pip install “sagemaker>=2.69.0” “transformers==4.12.3” --upgrade

using older dataset due to incompatibility of sagemaker notebook & aws-cli with > s3fs and fsspec to >= 2021.10
!pip install  “datasets==1.13” --upgrade