You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've started using Colab SSH and I've realized I couldn't run gcloud nor gsutil directly from the ipynb, I get an error saying the command was not found. This is the way it works in the Colab Notebook web.
After digging a bit it seemed like the cause is simply the path not being directing to the actual directory where the scripts are /tools/google-cloud-sdk/bin. In fact, when running !echo $PATH in the jupyter notebook from the web I can see this path included, but when running the same command in a jupyter notebook using the SSH connection it's not there.
I tried to update the path by doing !export PATH = (..) but no success so far (echo $PATH displays the same result).
Is there any way I can add /tools/google-cloud-sdk/bin to path, so I can run the aforementioned commands automatically?
What did you expect?
Run gcloud and gsutil without explicitly pointing to their path in the disk
Version
latest
Which version (if not the latest)?
No response
Relevant log output
No response
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
Jupyter notebook
Google Colab
What happened?
Hello guys,
I've started using Colab SSH and I've realized I couldn't run
gcloud
norgsutil
directly from the ipynb, I get an error saying the command was not found. This is the way it works in the Colab Notebook web.After digging a bit it seemed like the cause is simply the path not being directing to the actual directory where the scripts are
/tools/google-cloud-sdk/bin
. In fact, when running!echo $PATH
in the jupyter notebook from the web I can see this path included, but when running the same command in a jupyter notebook using the SSH connection it's not there.I tried to update the path by doing
!export PATH = (..)
but no success so far (echo $PATH displays the same result).Is there any way I can add /tools/google-cloud-sdk/bin to path, so I can run the aforementioned commands automatically?
What did you expect?
Run
gcloud
andgsutil
without explicitly pointing to their path in the diskVersion
Which version (if not the latest)?
No response
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: