Skip to content
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

Raspberry PI import tensorflow error #155

Open
codroneci opened this issue Jun 22, 2018 · 4 comments
Open

Raspberry PI import tensorflow error #155

codroneci opened this issue Jun 22, 2018 · 4 comments

Comments

@codroneci
Copy link

Describe the Issue

I have installed tensorflow on a Raspberry PI 3 using your instructions and it worked correctly. After installing a number of libraries that I needed for loading a Keras model trained on my PC (numpy, scipy etc) I have observed the following error while importing tensorflow:

Runtime Error: module compiled against API version 0xc but this version of numpy is 0xa
Segmentation fault

I have updated all the necessary libraries, and importing any of them doesn't result in an error in a Python 3 script. Also the error is not keras related, because the statement import tensorflow raises an error no matter what follows after it. Should I uninstall tensorflow and start all over again?

Steps to Reproduce

Hardware/Software Info

Please provide the following information about your Raspberry Pi setup:

  • Raspberry Pi model: 3B
  • Operating System used: Raspbian
  • Version of Python used: 3.5
  • SD card memory size: 16 GB
  • Size of USB/other device used as swap (if building from source): 32GB
  • TensorFlow git commit hash (if building from source):

Relevant Console Output/Logs

@jaimix4
Copy link

jaimix4 commented Jun 25, 2018

excuse which version of bazel did u use?

@codroneci
Copy link
Author

I have used bazel 0.8.0. The problem may be related to reinstalling dependencies of both tensorflow and Keras. After installing keras I have updated the numpy library using terminal instructions.

@jaimix4
Copy link

jaimix4 commented Jun 26, 2018

ok I will try to use bazel 0.10.1 and see what happen, will let you know

@yogeshluthra
Copy link

yogeshluthra commented Jun 30, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants