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

Installing 2.3.0 wheel produces tensorflow._version_=1.14.0 #100

Open
chetgnegy opened this issue Aug 11, 2020 · 1 comment
Open

Installing 2.3.0 wheel produces tensorflow._version_=1.14.0 #100

chetgnegy opened this issue Aug 11, 2020 · 1 comment

Comments

@chetgnegy
Copy link

chetgnegy commented Aug 11, 2020

I tried to install TF as follows, yet the version installed by python reports as 1.14.0. I'm on RPi 4B.

sudo -H pip3 install tensorflow-2.3.0-cp37-none-linux_armv7l.

>>> python3
>>> import tensorflow
2020-08-12 00:31:36.123293: E tensorflow/core/platform/hadoop/hadoop_file_system.cc:132] HadoopFileSystem load error: libhdfs.so: cannot open shared object file: No such file or directory
>>> import tensorflow
>>> tensorflow.__version__
'1.14.0'

Prior to installing, TF is not importable in python. Any thoughts? I know this sounds crazy.

@emojifreak
Copy link

@chetgnegy The official TF document says that pip version must be >= 19,

https://www.tensorflow.org/install/pip?hl=en#1.-install-the-python-development-environment-on-your-system

but Raspberry OS Buster only has pip 18. Maybe

apt-get install python3-pip
pip3 install -U pip
python3 -m pip install https://github.com/lhelontra/tensorflow-on-arm/releases/download/v2.3.0/tensorflow-2.3.0-cp37-none-linux_armv7l.whl

should work.

By the way, installation on aarch64 was much more painful... It requires gfortran to install scipy...

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

2 participants