Ozgur
Ozgur

Reputation: 172

Changing Google Cloud Python Version to Python 3

I used the command below to upgrade to python3.7 enter image description here

But when I control the python version, it is still python 2.7. How should I do? enter image description here

Upvotes: 1

Views: 343

Answers (1)

Serhii
Serhii

Reputation: 4471

Have a look at the instructions provided in this answer:

Then you would just call Python like so:

python3.7 ./yourScript.py

Do not forget to use python3.7 instead of python.

Upvotes: 1

Related Questions