You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
~$ /tmp/tensor/hello_tf
Hello from TensorFlow C library version 1.15.0
~$ go get github.com/tensorflow/tensorflow/tensorflow/go
package github.com/tensorflow/tensorflow/tensorflow/go/core/protobuf/for_core_protos_go_proto: cannot find package "github.com/tensorflow/tensorflow/tensorflow/go/core/protobuf/for_core_protos_go_proto"in any of:
/usr/local/go/src/github.com/tensorflow/tensorflow/tensorflow/go/core/protobuf/for_core_protos_go_proto (from $GOROOT)
/home/dwhite/go/src/github.com/tensorflow/tensorflow/tensorflow/go/core/protobuf/for_core_protos_go_proto (from $GOPATH)
~$ uname -a
Linux lab 5.2.0-3-amd64 #1 SMP Debian 5.2.17-1 (2019-09-26) x86_64 GNU/Linux~$ echo"$GOROOT$GOPATH"~$ go version
go version go1.12.2 linux/amd64
Reacted by Beining Cui, un_name, Mendel G and hann (한)
~$ /tmp/tensor/hello_tf
Hello from TensorFlow C library version 1.15.0
~$ go get github.com/tensorflow/tensorflow/tensorflow/go
package github.com/tensorflow/tensorflow/tensorflow/go/core/protobuf/for_core_protos_go_proto: cannot find package "github.com/tensorflow/tensorflow/tensorflow/go/core/protobuf/for_core_protos_go_proto"in any of:
/usr/local/go/src/github.com/tensorflow/tensorflow/tensorflow/go/core/protobuf/for_core_protos_go_proto (from $GOROOT)
/home/dwhite/go/src/github.com/tensorflow/tensorflow/tensorflow/go/core/protobuf/for_core_protos_go_proto (from $GOPATH)
~$ uname -a
Linux lab 5.2.0-3-amd64 #1 SMP Debian 5.2.17-1 (2019-09-26) x86_64 GNU/Linux~$ echo"$GOROOT$GOPATH"~$ go version
go version go1.12.2 linux/amd64
I got the same problem last night.
I execute this and I fixxed it. cd $GOPATH/src/github.com/tensorflow/tensorflow/tensorflow/go git checkout r1.11
Reacted by Paul Lesiak, Roman Voropaev, Wei Qi, yick, ypocket, Pavel Savvin, Richard Cooper, hann (한) and Anthony Becker
Reacted by RUBENS SILVA, 我的名字叫浩仔 and Aleksandrs Antonovs
~$ /tmp/tensor/hello_tf
Hello from TensorFlow C library version 1.15.0
~$ go get github.com/tensorflow/tensorflow/tensorflow/go
package github.com/tensorflow/tensorflow/tensorflow/go/core/protobuf/for_core_protos_go_proto: cannot find package "github.com/tensorflow/tensorflow/tensorflow/go/core/protobuf/for_core_protos_go_proto"in any of:
/usr/local/go/src/github.com/tensorflow/tensorflow/tensorflow/go/core/protobuf/for_core_protos_go_proto (from $GOROOT)
/home/dwhite/go/src/github.com/tensorflow/tensorflow/tensorflow/go/core/protobuf/for_core_protos_go_proto (from $GOPATH)
~$ uname -a
Linux lab 5.2.0-3-amd64 #1 SMP Debian 5.2.17-1 (2019-09-26) x86_64 GNU/Linux~$ echo"$GOROOT$GOPATH"~$ go version
go version go1.12.2 linux/amd64
I got the same problem last night.
I execute this and I fixxed it. cd $GOPATH/src/github.com/tensorflow/tensorflow/tensorflow/go git checkout r1.11
Same problem, this "fixed" the problem at least temporarily.
~/go/src/github.com/tensorflow/tensorflow/tensorflow $ git log HEAD --oneline
0de929fdc1 (HEAD -> master, origin/master, origin/HEAD) Make StatusHelper safer to use and fix a related memory leak.
~/go/src/github.com/tensorflow/tensorflow/tensorflow $ go test github.com/tensorflow/tensorflow/tensorflow/go
go/saved_model.go:25:2: cannot find package "github.com/tensorflow/tensorflow/tensorflow/go/core/protobuf/for_core_protos_go_proto" in any of:
/usr/local/go/src/github.com/tensorflow/tensorflow/tensorflow/go/core/protobuf/for_core_protos_go_proto (from $GOROOT)
/home/pi/go/src/github.com/tensorflow/tensorflow/tensorflow/go/core/protobuf/for_core_protos_go_proto (from $GOPATH)
~/go/src/github.com/tensorflow/tensorflow/tensorflow $ go version
go version go1.12.17 linux/arm
Reacted by RUBENS SILVA, andre da palma, Berk Gokden and Dórian C. Langbeck
$ go get github.com/tensorflow/tensorflow/tensorflow/go
cannot find package "github.com/tensorflow/tensorflow/tensorflow/go/core/protobuf/for_core_protos_go_proto" in any of:
/usr/local/go/src/github.com/tensorflow/tensorflow/tensorflow/go/core/protobuf/for_core_protos_go_proto (from $GOROOT)
/Users/gl/go/src/github.com/tensorflow/tensorflow/tensorflow/go/core/protobuf/for_core_protos_go_proto (from $GOPATH)
Hey @jhseu , any fix ? I am facing same issue. r1.11 or r2.0 doesn't work either.
shankernaik$ go get github.com/tensorflow/tensorflow/tensorflow/go
package github.com/tensorflow/tensorflow/tensorflow/go/core/protobuf/for_core_protos_go_proto: cannot find package "github.com/tensorflow/tensorflow/tensorflow/go/core/protobuf/for_core_protos_go_proto" in any of:
/usr/local/go/src/github.com/tensorflow/tensorflow/tensorflow/go/core/protobuf/for_core_protos_go_proto (from $GOROOT)
/Users/shankernaik/code/go/src/github.com/tensorflow/tensorflow/tensorflow/go/core/protobuf/for_core_protos_go_proto (from $GOPATH)
shankernaik$ uname -a
Darwin 19.6.0 Darwin Kernel Version 19.6.0: Tue Jan 12 22:13:05 PST 2021; root:xnu-6153.141.16~1/RELEASE_X86_64 x86_64
shankernaik$ echo "$GOROOT $GOPATH"
/usr/local/go /Users/shankernaik/code/go
shankernaik$ go test github.com/tensorflow/tensorflow/tensorflow/go
# github.com/tensorflow/tensorflow/tensorflow/go.test
ld: warning: directory not found for option '-L/Users/shankernaik/Users/shankernaik/libtensorflow-cpu-darwin-x86_64-2.4.0'
ok github.com/tensorflow/tensorflow/tensorflow/go (cached)
Activity
whitehse commentedon May 24, 2020
I have also encountered this error on Linux:
yashem66 commentedon May 31, 2020
I got the same problem last night.
I execute this and I fixxed it.
cd $GOPATH/src/github.com/tensorflow/tensorflow/tensorflow/gogit checkout r1.11PetrDvoracek commentedon May 31, 2020
Same problem, this "fixed" the problem at least temporarily.
rensburger commentedon May 31, 2020
Worked for me also
rtrevinnoc commentedon Jun 3, 2020
Worked for me too
roma-guru commentedon Jun 10, 2020
r2.0seems to be the last version w/o bug.jhseu commentedon Jul 22, 2020
Fixed with e5e495d
google-ml-butler commentedon Jul 22, 2020
Are you satisfied with the resolution of your issue?
Yes
No
leslie-wang commentedon Jul 25, 2020
seems still exist
jlozano commentedon Aug 24, 2020
I am also getting this issue when running
go get github.com/tensorflow/tensorflow/tensorflow/go:I am using the following version of Go:
I get this with the latest version of Tensorflow, commit
01b030b77623c5fa00a43640f77af2a43572d02c.Any help would be appreciated!
erikdubbelboer commentedon Aug 28, 2020
This works to install the latest working version:
domino14 commentedon Oct 27, 2020
I get this same error. Any resolution?
glindsell commentedon Nov 13, 2020
Same here:
shankernaik commentedon Feb 22, 2021
Hey @jhseu , any fix ? I am facing same issue. r1.11 or r2.0 doesn't work either.
Update :
while configuring the env variables for linker from https://www.tensorflow.org/install/lang_c. instead try Absolute path as below
This worked for me, caching the go package here.
icovej commentedon Mar 16, 2023
at least, I download it successfully, but I don't know whether its functions are all right
PR #39744: [ROCm] Porting CUB sort FFI handler consolidation to ROCm.
PR #39744: [ROCm] Porting CUB sort FFI handler consolidation to ROCm.