我是一個(gè)新用戶(hù),我正在嘗試這個(gè)命令。go get github.com/tensorflow/tensorflow/tensorflow/contrib/go我收到了這個(gè)錯(cuò)誤package github.com/tensorflow/tensorflow/tensorflow/contrib/go imports github.com/tensorflow/tensorflow/tensorflow/contrib/go imports github.com/tensorflow/tensorflow/tensorflow/contrib/go: cannot find package "github.com/tensorflow/tensorflow/tensorflow/contrib/go" in any of: /usr/lib/go/src/pkg/github.com/tensorflow/tensorflow/tensorflow/contrib/go (from $GOROOT) /home/arafat/go/src/github.com/tensorflow/tensorflow/tensorflow/contrib/go (from $GOPATH)我知道這似乎是一個(gè)微不足道的問(wèn)題,但我堅(jiān)持下去。
1 回答

犯罪嫌疑人X
TA貢獻(xiàn)2080條經(jīng)驗(yàn) 獲得超4個(gè)贊
如果要編譯和安裝的代碼不在分支中master(默認(rèn)由 簽出go get),而僅在該gorepo 的分支中,請(qǐng)嘗試:
cd $GOPATH/github.com/tensorflow/tensorflow
git checkout go
然后再次嘗試編譯。
- 1 回答
- 0 關(guān)注
- 257 瀏覽
添加回答
舉報(bào)
0/150
提交
取消