system: Raspberry Pi 4B, Raspbian Buster (32 bit)
Fresh os image, everything I have done is listed here.
I am trying to setup Tensorflow object detection api on my Pi, and I have since found a few working wheels for tensorflow.
Problem is: tf.sysconfig.get_link_flags()
is empty. I got an error about that when attempting to build the api from source.
Reason for this is I also need to install tensorflow-io from source, which is where I encounter this problem
So far I have been following this guide: https://qengineering.eu/install-tensorflow-2.2.0-on-raspberry-pi-4.html
What I've tried:
Using --global-option
as shown here:python pip specify a library directory and an include directory
My install completes with no errors, but also didn't change anything. I then inputted --global-option=hello
and also didn't get any errors, something isn't right.
Trying to install the wheel after the c api.
Trying to get the command line help of build_ext
to look for myself. It may or may not have come with the system, and I have no idea where to get it.
I could go about following the build instructions in the bottom half of the guide, but I would rather not risk 34h to hit another dead end. What should I do?
edit: realised I should include how I got to my conclusion:
>>>import tensorflow as tf
>>>lib = tf.sysconfig.get_link_flags()
>>>lib
[]
On my windows laptop (which was just to try out a different environment) I see an -L and an -l:libtensorflow_framework.so.2, despite there being no such file in the laptop (I did pip install tensorflow-io, if that makes a difference). I wonder why.