i am running into an error when i try to install tensor flow using pip on my raspberry pi 3b+.
here is the error message:
Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-p4UFOu/h5py/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-ofsmSC/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /tmp/pip-install-p4UFOu/h5py/
here are the commands i have tried with the same results:
pip install tensorflow
sudo pip install tensorflow
sudo -H install tensorflow
pip install --user tensorflow
i am running the latest version of Raspbian OS and have updated and upgraded my raspberry pi. i am also using python 2.7 and this works successfully with python 2.7 on my ubuntu 18.10 laptop.
any ideas how i can successfully do this?
UPDATE: sorry the error message long scrolls. i tried to make it more readable for everyone.