can't compile !! cannot find package
marjanj opened this issue · comments
maryjane00 commented
hi, i try to run and compile
=============
C:\test>go run GoBot.go
GoBot.go:4:2: cannot find package "GoBot2/components" in any of:
C:\Go\src\GoBot2\components (from $GOROOT)
($GOPATH not set)
=============
C:\test>go build GoBot.go
GoBot.go:4:2: cannot find package "GoBot2/components" in any of:
C:\Go\src\GoBot2\components (from $GOROOT)
($GOPATH not set)
=============
what can i do now ?
how can i fix it ?
maryjane00 commented
i download all package u used and made directory !
github.com/NebulousLabs/go-upnp
golang.org/x/sys/windows/registry
github.com/AllenDang/w32
github.com/atotto/clipboard
github.com/StackExchange/wmi
but still got error.
http://prntscr.com/hdpk2f
Smart Dev commented
it seems, it is the environment directory issue.