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

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

2 Likes

The backslashes after the drive specifier are missing:

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

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.