Go: GOPATH entry is relative; must be absolute path: "C:Users\\Owner\\go"


(yuya) #1

I have just studied Go today,and when i tried to “go version”,then error message showed up " go: GOPATH entry is relative; must be absolute path: “C:Users\Owner\go”. " please tell me what should i do.

My Path is

GOPATH C:Users\Owner\go

Path C:Go\bin;C:\Users\Owners・・・・

OS is Windows 10 Pro 64bit


(Norbert Melzer) #2

The backslashes after the drive specifier are missing:

C:\Users\Owner\go
C:\go\bin;C:\Users\Owners・・・・