Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Different PATH #120

Open
2 tasks done
tgpsantos opened this issue Jun 3, 2022 · 0 comments
Open
2 tasks done

[Bug]: Different PATH #120

tgpsantos opened this issue Jun 3, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@tgpsantos
Copy link

Jupyter notebook

Google Colab

What happened?

Hello guys,

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
@tgpsantos tgpsantos added the bug Something isn't working label Jun 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant