golang / tour

[mirror] A Tour of Go
BSD 3-Clause "New" or "Revised" License
1.55k stars 521 forks source link

tour fail as "could not find go-tour content" #788

Open keman1984 opened 5 years ago

keman1984 commented 5 years ago

centos and go version: go version go1.12.5 linux/amd64

environment: export GOROOT=/usr/local/go export GOPATH=/usr/local/GOPATH export PATH=$PATH:$GOROOT/bin:$GOPATH/bin export GO111MODULE=on

install steps: ~# go get golang.org/x/tour go: finding golang.org/x/tour latest go: finding golang.org/x/tools v0.0.0-20190312164927-7b79afddac43 go: finding golang.org/x/net v0.0.0-20190311183353-d8887717615a go: finding golang.org/x/text v0.3.0 go: finding golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2 go: finding golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a go: downloading golang.org/x/tour v0.0.0-20190611164551-1f1f3d2b450b go: extracting golang.org/x/tour v0.0.0-20190611164551-1f1f3d2b450b go: downloading golang.org/x/tools v0.0.0-20190312164927-7b79afddac43 go: extracting golang.org/x/tools v0.0.0-20190312164927-7b79afddac43 go: downloading golang.org/x/net v0.0.0-20190311183353-d8887717615a go: extracting golang.org/x/net v0.0.0-20190311183353-d8887717615a

Run and callback: ~# tour 2019/06/17 16:00:33 Couldn't find tour files: could not find go-tour content; check $GOROOT and $GOPATH

Did I make any mistake?

keman1984 commented 5 years ago

“This will place a tour binary in your workspace's bin directory, which can be run offline.” Did I get it wrong? Does this project only run with “dev_appserver.py app.yaml”?

yunfan commented 5 years ago

i got the same issue here

weizhixiang commented 5 years ago

i got the same issue here,windows10

CodingByteFly commented 5 years ago

I got the same issue here.

dayou5168 commented 5 years ago

could someone can solve this probelems? i get stacked is it a bug?

helphi commented 5 years ago

https://stackoverflow.com/questions/57686808/error-about-running-go-tour-localy-couldnt-find-tour-files-could-not-find-go

lyzenghq commented 5 years ago

https://stackoverflow.com/questions/57686808/error-about-running-go-tour-localy-couldnt-find-tour-files-could-not-find-go

This worked for me.

StephenTurley commented 3 years ago

Hmm I can't seem to get this to work either. The GO111MODULE variable is extremely confusing to a noob like me.