-
Notifications
You must be signed in to change notification settings - Fork 495
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
Compile from source ok, import error #133
Comments
I am facing the problem exactly your case. Have you found the solution? Thanks! |
No, I gave up after a while. |
I'm having the same issue..
Any solutions? |
Same issue here. Previously succeeded. I suspect it's a problem with the newer versions of TensorFlow. The last version I remember that works is r1.4 |
Same here: |
The fix for me was just to compile TF r1.4. I have a fully working TF. |
Same here... :( After 7 hours compiling (and several failed tries before) it cannot import the module. I used gcc 4.8.5 and bazel 0.10.1 to generate the .whl package. I tried TF 1.7.0 with bazel 0.10.1 and 0.12.0 but it failed to compile. I will try wtih TF 1.4. |
@tlkh Can you share what versions of gcc and bazel you used to compile TF r1.4. Thanks! |
@iyanmv I’m so sorry, I don’t actually remember. But there was an additional flag I had to set, I think it was some legacy thing. |
Put libtensorflow_framework.so in LD_LIBRARY_PATH can solve this problem. |
Hi, I'm compiling from source on a RPi 3 Stretch image. I do all steps as per the guide, except for bazel for which I found a binary of version 0.5.4. Compile completes without errors, wheel builds ok, pip installs but import fails.
Steps to Reproduce
Compile as per the guide, use bazel 0.5.4 binary, build wheel, pip install, open up python and import. I do not use any virtualenv to simplify the case.
Hardware/Software Info
Relevant Console Output/Logs:
The text was updated successfully, but these errors were encountered: