Jump to content

tensorflow 2 on Armbian


Ehsan Ahmadi

Recommended Posts

Hi there,

 

I need to install below libraries on my orange pi lite, on a virtual environment

tensorflow 2

keras

numpy

pandas

OrangePi.GPIO

 

does anyone have a armbian image including all these libraries pre-installed. because everytime I try to do it, I face lots of odd errors, mostly for installing tensorflow 2, and installing anyone of libraries on virtual environment.

 

 

Link to comment
Share on other sites

AFAIK, those are just user space programs?  Which would mean, that they should install just as any other program.  Especially if you are doing so into some container or (Python?) environment.

 

The only exception would be the GPIO, now this is something which might have more to do with Armbian (generally speaking).  Is that a package name, or?  Maybe search forums about how to get GPIO working on OPi Lite.  The GPIO might even work 'out of the box' on Armbian (not sure; but if so, trying to install other things might be messing that up).

 

Getting GPIO to work (permissions) through container might be another problem area.  Maybe just use directly in user space (if possible) or sort out permissions.

 

Sorry, I don't own this hardware so can't give specifics.  But I try to help in general, anyway.

Link to comment
Share on other sites

thankyou TRS-80,

well I tried lots of ways for installing tensorflow 2, but it didn't work.

I wonder if it could be installed on armbian.

 

I could fix GPIO issue, however.

 

*** if someone has experience with tensorflow 2 installation on armbian, I would be thankful to get some advice.

 

Link to comment
Share on other sites

If it can be installed on Debian, it should be able to be installed on Armbian the same way (as userland packages are same).  So maybe search Internet for regular Debian instructions?  Sounds like maybe you have already though.

 

I am unfamiliar with tensorflow, but a quick search of Debian packages for tensorflow seems to indicate whatever is available is in the experimental repo, and then only for amd64 (x86 64-bit) architecture.  You would need something for some kind of Arm architecture for whatever your board is.

 

So, unless I am badly mistaken, I think you will probably have to compile from source.  Maybe search Internet for something like 'tensorflow on Arm' or similar.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines