gophernotes icon indicating copy to clipboard operation
gophernotes copied to clipboard

error loading package "firebase.google.com/go" metadata: err: go command required, not found: exec: "go": executable file not found in $PATH: stderr:

Open jehphorey opened this issue 4 years ago • 1 comments

Hello, I am I having issues with importing third party packages to GopherNotes. I also feel that it is important to note that I am running GopherNotes through a notebook instance on GCP.

I saw this quote by Cosmo

Hello @ilaer importing third-party packages (i.e. outside the Go standard library) currently only works on Linux and Mac OS X, and - what's probably missing in your case - requires the Go compiler to be installed and added to $PATH

But to the best of my knowledge I believe the Go compiler is already added to $PATH.

Could anyone please elaborate on how to fix this?

Thank you

image

jehphorey avatar Sep 08 '21 08:09 jehphorey

The error message you quoted shows that the go command is not found in your $PATH.

To be able to help you, please post the following information:

  1. the operating system you are using
  2. where you think the Go toolchain is installed
  3. the output of echo $PATH
  4. the output of go version
  5. the output of go env

cosmos72 avatar Jan 09 '22 15:01 cosmos72