我正在尝试通过命令获取包 github.com/faiface/pixel:go get github.com/faiface/pixel当我尝试时出现错误package github.com/faiface/pixel: mkdir /tomekz: permission denied.:sudo go get github.com/faiface/pixel没有出现错误,但也没有包。关于golang的信息:GO111MODULE="" GOARCH="amd64" GOBIN="" GOCACHE="/home/tomekz/.cache/go-build" GOENV="/home/tomekz/.config/go/env" GOEXE="" GOFLAGS="" GOHOSTARCH="amd64" GOHOSTOS="linux" GOINSECURE="" GONOPROXY="" GONOSUMDB="" GOOS="linux" GOPATH="/tomekz/go" GOPRIVATE="" GOPROXY="https://proxy.golang.org,direct" GOROOT="/usr/lib/go" GOSUMDB="sum.golang.org" GOTMPDIR="" GOTOOLDIR="/usr/lib/go/pkg/tool/linux_amd64" GCCGO="gccgo" AR="ar" CC="gcc" CXX="g++"CGO_ENABLED="1" GOMOD="" CGO_CFLAGS="-g -O2" CGO_CPPFLAGS="" CGO_CXXFLAGS="-g -O2" CGO_FFLAGS="-g -O2" CGO_LDFLAGS="-g -O2" PKG_CONFIG="pkg-config" GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build118455577=/tmp/go-build -gno-record-gcc-switches" PS:我使用manjaro linux
- 1 回答
- 0 关注
- 122 浏览
添加回答
举报
0/150
提交
取消