-
-
Notifications
You must be signed in to change notification settings - Fork 155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
installation issue: can't find for_core_protos_go_proto #46
Comments
Initialised go mod which seemed to help with the issue but then created a different issue with
|
After spending time installing MingGW and adding it to the PATH for system.
|
According to the official documentation Go bindings for Tensorflow is not supported on Windows systems however according to this comment with a bit of hacking together it may be possible to get it to work. |
Really sorry but I'm not able to help you, I don't have a windows machine 😅 I'd keep this issue open hoping for someone in the same situation that might be able to solve this. Or maybe, if you'll be able to make it work on windows you could open a pull request even to describe the step-by-step process, it would be really appreciated |
Hi,
|
Hi @vkuznet , have you downloaded and installed in your system the correct library? https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-cpu-darwin-x86_64-2.4.0.tar.gz I don't have a Mac so I can't help you trying to reproduce your issue on my computer, but It looks like some symbol is missing from the library. Have you tried to follow the steps suggested in the tensorflow install c documentation and run the hello world in C? Does it work? |
After several iterations I found the issue. Turns out I had in /usr/local/lib previous version of TF (1.X) I was need to remove it, then I copied TF 2.4 library to /usr/local/lib and after that I was able to get tfgo. Now it seems to work |
Great! Thank you for this update. Now I know that tfgo also runs on MacOS then :) |
Hi @galeone, is there a way to use it on mac arm64. It gives me the following error when I try to install.
|
@farshed I think it is question about TF library availability on arm64 architecture rather about tfgo. You should check with TF libs for that platform. |
@vkuznet Thanks for confirming. I was hoping there was a way to run the x86_64 build with Rosetta 2 but I guess I'll just have to wait for the arm64 support. |
on wsl2 alse gets the same errors: github.com/galeone/tensorflow/tensorflow/go imports
github.com/tensorflow/tensorflow/tensorflow/go/core/protobuf/for_core_protos_go_proto: cannot find module providing package github.com/tensorflow/tensorflow/tensorflow/go/core/protobuf/for_core_protos_go_proto Do I miss something? Thanks. |
Do you run on the wsl2 ? I get the same error. Thanks. |
having the same issue on m1 |
I'm opening up a new issue since none of the solutions given in the original issue fix the problem at all.
I am attempting to be able to run this code, but this repository in it's current state is completely uninstallable.
The text was updated successfully, but these errors were encountered: