Is it possible to reference a virtual env/ python that has been uploaded to a cloud storage bucket in GCP? I have a ubuntu docker image with all the proper credentials and service account set up within the image
I'm able to use gsutil commands, however, when I try to export my PYSPARK_PYTHON variable, I get the ' No such file or directory ' error
export PYSPARK_PYTHON=gs://[bucket]/deps/env/bin/python3
pyspark
env: ‘gs://[bucket]/deps/env/bin/python3’: No such file or directory
If I run:
gsutil ls gs://[bucket]/deps/env/bin/python3
I'm able to see the file
I expect pyspark to work using the python dependencies and libraries within that bucket. Is this possible at all?