tensorflow-on-raspberry-pi icon indicating copy to clipboard operation
tensorflow-on-raspberry-pi copied to clipboard

tensorflow 0.12 binary fails to install on python3.5

Open patchper opened this issue 8 years ago • 13 comments

tensorflow 0.12 binary cannot be installed on python3.5 provided by raspbian stretch. the log only shows "not a supported wheel on this platform."

$ pip3 install tensorflow-0.12.1-cp34-cp34m-linux_armv7l.whl
tensorflow-0.12.1-cp34-cp34m-linux_armv7l.whl is not a supported wheel on this platform.
  • Raspberry Pi model: pi3 model B
  • Operating System used: raspbian stretch
  • Version of Python used: python3.5
  • SD card memory size: 32G
  • Size of USB/other device used as swap (if building from source):
  • TensorFlow git commit hash (if building from source):

Relevant Console Output/Logs

patchper avatar Jan 24 '17 06:01 patchper

Thanks for opening this up @patchper - you're right; with the more recent versions of TensorFlow the 3.5 nlbinary has to be compiled separately. I'll try to have a 3.5 binary out this week.

samjabrahams avatar Jan 24 '17 18:01 samjabrahams

Hi @patchper - I'm sorry to defer this off until later, but I just realized that this is referring to an unofficial/unsupported Raspbian distribution (at least for now). I don't have the resources to support anything but the core Raspbian distro at this time, and seeing as Python 3.5 isn't available on Jessie (aside from building from source), I won't be making a binary for it.

If you really need to use Python 3.5, I encourage you to follow the guide to build the binaries from source!

samjabrahams avatar Jan 26 '17 03:01 samjabrahams

Hi @samjabrahams, are you going to update the python 3.5 version wheel now? coz it seems like 3.5 now is an official distribution.

BichenZhang avatar Sep 17 '17 06:09 BichenZhang

Hello Sam,

I was wondering if you could update the tensorflow installation on raspberry pi guide as I cannot get the wheel to install on Raspbian Stretch.

Many thanks, D

Dampod avatar Oct 05 '17 10:10 Dampod

Rename the whl filefrom 34 to 35 and have a try.

On Thu, Oct 5, 2017 at 6:06 AM Dampod [email protected] wrote:

Hello Sam,

I was wondering if you could update the tensorflow installation on raspberry pi guide as I cannot get the wheel to install on Raspbian Stretch.

Many thanks, D

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/samjabrahams/tensorflow-on-raspberry-pi/issues/67#issuecomment-334420479, or mute the thread https://github.com/notifications/unsubscribe-auth/AYwinV4nlVjtBLbzPyIE3762kSjuE9Gbks5spKoxgaJpZM4Lr7LI .

BichenZhang avatar Oct 05 '17 12:10 BichenZhang

Hi! Thank you for your response - I've tried doing that but it still did not work

Dampod avatar Oct 05 '17 15:10 Dampod

@Dampod Hi, I released pip package for pi one/2/3 and odroid-c2: https://github.com/lhelontra/tensorflow-on-arm/releases/tag/v1.3.1

lhelontra avatar Oct 05 '17 18:10 lhelontra

Many thanks kind sir! I've tried this and it worked like magic - very grateful!

If I can be cheeky and ask for something similar for Asus TinkerBoard that'd be awersome lol.

Best, D

Dampod avatar Oct 06 '17 22:10 Dampod

@Dampod im having diffucilty install the tensorflow on my rpi3/python3.5.3/raspbian stretch environment. Would you be kind enough to list out the precise commands to install?

jainraje avatar Oct 25 '17 04:10 jainraje

Take a look at:

https://github.com/tfors/rpi-tf/blob/master/doc/install_tensorflow.md https://github.com/tfors/rpi-tf/blob/master/doc/install_tensorflow.md

On Oct 25, 2017, at 12:53 AM, Rajeev Jain [email protected] wrote:

@Dampod https://github.com/dampod im having diffucilty install the tensorflow on my rpi3/python3.5.3/raspbian stretch environment. Would you be kind enough to list out the precise commands to install?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/samjabrahams/tensorflow-on-raspberry-pi/issues/67#issuecomment-339213973, or mute the thread https://github.com/notifications/unsubscribe-auth/ABD_woPwpq07-KGNJ0Va_bRNDFfio_8Nks5svr7EgaJpZM4Lr7LI.

ron333 avatar Oct 25 '17 18:10 ron333

Hi thanks for your response. Just to confirm, it must be built...no binaries available?

=== Rajeev Jain [email protected]

On Oct 25, 2017, at 11:23 AM, Ronald Mourant [email protected] wrote:

Take a look at:

https://github.com/tfors/rpi-tf/blob/master/doc/install_tensorflow.md https://github.com/tfors/rpi-tf/blob/master/doc/install_tensorflow.md

On Oct 25, 2017, at 12:53 AM, Rajeev Jain [email protected] wrote:

@Dampod https://github.com/dampod im having diffucilty install the tensorflow on my rpi3/python3.5.3/raspbian stretch environment. Would you be kind enough to list out the precise commands to install?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/samjabrahams/tensorflow-on-raspberry-pi/issues/67#issuecomment-339213973, or mute the thread https://github.com/notifications/unsubscribe-auth/ABD_woPwpq07-KGNJ0Va_bRNDFfio_8Nks5svr7EgaJpZM4Lr7LI.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

jainraje avatar Oct 25 '17 20:10 jainraje

Yes. The instructions are clear and it is easy to do.

Ron

On Oct 25, 2017, at 4:37 PM, Rajeev Jain [email protected] wrote:

Hi thanks for your response. Just to confirm, it must be built...no binaries available?

=== Rajeev Jain [email protected]

On Oct 25, 2017, at 11:23 AM, Ronald Mourant [email protected] wrote:

Take a look at:

https://github.com/tfors/rpi-tf/blob/master/doc/install_tensorflow.md https://github.com/tfors/rpi-tf/blob/master/doc/install_tensorflow.md

On Oct 25, 2017, at 12:53 AM, Rajeev Jain [email protected] wrote:

@Dampod https://github.com/dampod im having diffucilty install the tensorflow on my rpi3/python3.5.3/raspbian stretch environment. Would you be kind enough to list out the precise commands to install?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/samjabrahams/tensorflow-on-raspberry-pi/issues/67#issuecomment-339213973, or mute the thread https://github.com/notifications/unsubscribe-auth/ABD_woPwpq07-KGNJ0Va_bRNDFfio_8Nks5svr7EgaJpZM4Lr7LI.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/samjabrahams/tensorflow-on-raspberry-pi/issues/67#issuecomment-339463523, or mute the thread https://github.com/notifications/unsubscribe-auth/ABD_wu8wjcXhWqTUEte4OmpuDKUGnBf5ks5sv5wGgaJpZM4Lr7LI.

ron333 avatar Oct 25 '17 20:10 ron333

Ok. Your response is very helpful. Thank you again!

On Oct 25, 2017, at 1:45 PM, Ronald Mourant [email protected] wrote:

Yes. The instructions are clear and it is easy to do.

Ron

On Oct 25, 2017, at 4:37 PM, Rajeev Jain [email protected] wrote:

Hi thanks for your response. Just to confirm, it must be built...no binaries available?

=== Rajeev Jain [email protected]

On Oct 25, 2017, at 11:23 AM, Ronald Mourant [email protected] wrote:

Take a look at:

https://github.com/tfors/rpi-tf/blob/master/doc/install_tensorflow.md https://github.com/tfors/rpi-tf/blob/master/doc/install_tensorflow.md

On Oct 25, 2017, at 12:53 AM, Rajeev Jain [email protected] wrote:

@Dampod https://github.com/dampod im having diffucilty install the tensorflow on my rpi3/python3.5.3/raspbian stretch environment. Would you be kind enough to list out the precise commands to install?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/samjabrahams/tensorflow-on-raspberry-pi/issues/67#issuecomment-339213973, or mute the thread https://github.com/notifications/unsubscribe-auth/ABD_woPwpq07-KGNJ0Va_bRNDFfio_8Nks5svr7EgaJpZM4Lr7LI.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/samjabrahams/tensorflow-on-raspberry-pi/issues/67#issuecomment-339463523, or mute the thread https://github.com/notifications/unsubscribe-auth/ABD_wu8wjcXhWqTUEte4OmpuDKUGnBf5ks5sv5wGgaJpZM4Lr7LI.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

jainraje avatar Oct 25 '17 20:10 jainraje