unable to transfer files from cloud bucket to VM instance

0

I am struggling to upload the dataset from internet to VM instance for that i have uploaded the dataset on cloud storage bucket but the command to transfer the data from bucket to intance is not working and it was showing this error.

ERROR: Python 3 and later is not compatible with the Google Cloud SDK. Please use Python version 2.7.x. If you have a compatible Python interpreter installed, you can use it by setting the CLOUDSDK_PYTHON environment variable to point to it.

Sachin Singh

Posted 2019-04-03T12:13:17.947

Reputation: 1

1What exactly have you installed or what are you trying to run? Do you have an outdated version of that library? They should support Python 3. – slhck – 2019-04-03T12:26:14.980

they should support but they are not i just want to know the command to change the environment variable path to python 2.7 – Sachin Singh – 2019-04-03T12:29:59.600

Your question is still unclear. We don't know your operating system, what version of the Cloud SDK you are running, what specific command you are running that produces this error, what version(s) of Python you have installed (and where), etc. – slhck – 2019-04-03T12:52:22.510

i am using ubuntu 16.04 LTS, version of Cloud sdk is 218.0.0. The command which produces error is -$ gsutil -m cp gs://name-of-cloud-storage/file-name.csv ../path-to-store-file – Sachin Singh – 2019-04-03T14:33:10.443

Please [edit] your question to include that info. What is the output of which -a python, which -a python3 and echo $PATH, and what does python --version show? – slhck – 2019-04-03T15:47:20.823

No answers