![]() export CLOUDSDK_PYTHON=”/path/to/anaconda3/bin/python”Īnd don’t froget to run source. If you are using Linux or macOS, add the following line to the. Variable value: path\to\anaconda3\python.exe.If you are using Windows, add the following variables to your Environmental Variables: Set up CLOUDSDK_PYTHON Environmental Variable You can follow this post to install and quick-start Anaconda. If you have not used Anaconda yet, I also highly recommend you to try it out. If you are still using Python2, I highly recommend you to change to Python3 now. In order to use an existing Python on your systems, especially, the Python is managed by Anaconda, you might need to follow the process described in this post to make things work. Google Cloud SDK needs Python, however, its bundled Python package is still 2.7 and most of the Cloud SDK components already switch to Python 3 since version 274.0.0. Thus it doesn’t need to run any installer on your system. Each of the versioned archive has a self-contained Cloud SDK packages in a directory that can be copied to any location on your file system. Installing through versioned archives might be the best way for non-interactive installation of a specific version of the Cloud SDK. ![]() The process has been tested on both Windows 10 and Ubuntu 18.04. This post describes the process of installing the Cloud SDK through versioned archive on operating systems that have already installed Python through Anaconda. You can install the Cloud SDK through many options, including versioned archives, installer, apt-get/yum for Linux distro, and even Docker image. As a power user of Google Cloud Platform, you definately need to use gcloud, gsutil and bq commands to work with GCP, which means you need to install Google Cloud SDK on your local computer.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |