I am following below link to create a custom image of dataproc-version 1.5.21-debian10 https://cloud.google.com/dataproc/docs/guides/dataproc-images
according to this link if I try below customization script
#! /usr/bin/bash
apt-get -y update <-- This ends in error command not found
apt install python3-pip -y <-- E: Unable to locate package
python3.7 -m pip install numpy <-- /usr/bin/python3.7: No module named pip
instead if I try pip install numpy it installs the package in python2.7
Please suggest what can I do?