Skip to content
This repository has been archived by the owner on Dec 11, 2022. It is now read-only.

install Tensorflow #35

Open
DaliaAshqar opened this issue Jul 29, 2018 · 4 comments
Open

install Tensorflow #35

DaliaAshqar opened this issue Jul 29, 2018 · 4 comments

Comments

@DaliaAshqar
Copy link

I have installed tensorflow using conda and it did not show any error, but when I tried to check if the installation works properly it shows the following error:
no module named tensorflow

@jjhelmus
Copy link
Owner

How did you install Tensorflow? The rpi channel does not contain a tensorflow package.

@DaliaAshqar
Copy link
Author

Firstly I searched for It using the following command:
anaconda search -t conda tensorflow
then It displayed for me a list of the available packages, I choose the one which is suitable for Raspberry pi 3 platform, then I Run the following command:
anaconda show
to guide me how to install it
conda install --channel <package name/ channel >.
And to make sure it was installed I typed
conda list
and tensorflow was appearing in the list, however; when I try to use import tensorflow it showed me an error. Then I realized that there is something wrong, so I installed using pip.

So, maybe using "conda list" to check whether the package is installed or not is not enough.
Thank you so much for your replay.

@gaiar
Copy link
Contributor

gaiar commented Jul 31, 2018

Currently getting tensorflow via conda for ARM devices is challenging. I would recommend you following next steps

  1. Create Python 3.5 environment as conda create -n YOUR_NAME python=3.5
  2. Download suitable for you version from https://github.com/lhelontra/tensorflow-on-arm/releases
  3. Install it via pip in your environment

@ghost
Copy link

ghost commented Aug 4, 2018

Tensorflow is officially supported for rpi's now. Installing should be a easy as pip install tensorflow

https://medium.com/tensorflow/tensorflow-1-9-officially-supports-the-raspberry-pi-b91669b0aa0
https://www.tensorflow.org/install/install_raspbian

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

No branches or pull requests

3 participants