ng_developer
ng_developer

Reputation: 117

godep: exec: "go": executable file not found in $PATH?

I am trying to run make run. But getting this. I do not know to how to set this.

Upvotes: 2

Views: 5657

Answers (1)

Endre Simo
Endre Simo

Reputation: 11551

You need to set the path variable to where your go package is installed. Typically on ubuntu is installed on the /bin folder. So in your case you have to set it to:

$ export PATH=$PATH:$GOPATH/bin

Check the documentation here: https://golang.org/doc/code.html

Upvotes: 2

Related Questions