This is typical error from running community images on OpenShift, where all containers run using an anonymous UID:
WARNING: The directory '/home/ray/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. Defaulting to user installation because normal site-packages is not writeable Requirement already satisfied: numpy in ./anaconda3/lib/python3.7/site-packages (1.20.0) ERROR: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/home/ray/.local'
Recommend changing all files with:
chown -R 9998:0 /dir chmod -R g+rwX /dir USER 9999 # different than 9998 above
/home/ray assumes a user
ray, which in openshift will definitely never exist.