简体   繁体   中英

use go get command, report open “Go\src\runtime\internal\sys\zversion.go” the system cannot find the file specified

the commands are as follows:

$ go get github.com/beego/bee

and the result is :

go: open C:\\Go\\src\\runtime\\internal\\sys\\zversion.go: The system cannot find the file specified.

where goes wrong?

You may not have defined GOPATH or GOROOT.

GOPATH -> The directory where your GoLang work on your computer will be located (your own user specific)

GOROOT -> Displays the GoLang installed directory (for all users) on your computer.

Get help here to install Beego framework

go get github.com/astaxie/beego

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM