Can;t install Adafruit_BBIO

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
szlztt
 
Posts: 14
Joined: Tue Aug 06, 2013 8:06 am

Can;t install Adafruit_BBIO

Post by szlztt »

Bought BBB from Adafruit. Angstrom Dist. When I try to install the Adafruit_BBIO I get the following error message:
Unknown package 'Adafruit_BBIO'.

Don't know what to do from here??
Thanks

User avatar
0miker0
 
Posts: 60
Joined: Mon Sep 12, 2011 8:13 am

Re: Can;t install Adafruit_BBIO

Post by 0miker0 »

Very odd. I have also purchased the BBB from Adafruit and have never had trouble installing Adafruit_BBIO. Exactly what text are you entering?

User avatar
szlztt
 
Posts: 14
Joined: Tue Aug 06, 2013 8:06 am

Re: Can;t install Adafruit_BBIO

Post by szlztt »

Thank you for your reply. I am happy to get help on this!

I am attempting to work through the PDF book "Getting started with BeagleBone" by Matt Richardson. Being a Newbie to Linux I decided to start simple. In Chapter 4 he suggests to load the Adafruit python library as follows from the Kernal at the prompt root@beaglebone:~#:

"opkg python-pip python-setuptools python-smbus"

When doing so I get a message as follows:
python-pip "library does not exist"
python-setuptools "library does not exist"
and the same for the -smbus

Then I tried: pip install Adafruit_BBIO
and get the following " pip tool does not exist" so it didn't get loaded

when I type : python

I do get:

Python 2.7.3 (default, May 29 2013, 21:25:00)
[GCC 4.7.3 20130205 (prerelease)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>

So python is installed correctly on the BBB.

I also cannot get the time and date to update properly when using : "pool.ntp.org

it has been suggested that I reload the Angstrom image and flash it from the SD card. Do you think that would help? Should I use Debian instead?

Hope this helps.
Thank you again

User avatar
adafruit_support_mike
 
Posts: 67446
Joined: Thu Feb 11, 2010 2:51 pm

Re: Can;t install Adafruit_BBIO

Post by adafruit_support_mike »

Are you using Angstrom or Debian as the OS on your BBB?

User avatar
szlztt
 
Posts: 14
Joined: Tue Aug 06, 2013 8:06 am

Re: Can;t install Adafruit_BBIO

Post by szlztt »

Mike,
Thanks. I am using angstrom but I found the issue and I made the changes and managed to work it out. Turns out I needed to configure my local network connections to allow the BBB to access the internet connection through my computer then I had to go the the BBB kernel and modify a resolv.conf file in the /etc directory essentially telling the BBB to use the computer's URL to communicate through. After that I was able to opkg the python pip and load the Adafruit_BBIO library, blink an LED and even set the correct time which also was eluding me.

I followed this video http://www.youtube.com/watch?v=fzRVVtGNfj8


Thanks again for the help.

User avatar
adafruit_support_mike
 
Posts: 67446
Joined: Thu Feb 11, 2010 2:51 pm

Re: Can;t install Adafruit_BBIO

Post by adafruit_support_mike »

Glad to hear you got it working. ;-)

User avatar
szlztt
 
Posts: 14
Joined: Tue Aug 06, 2013 8:06 am

Re: Can;t install Adafruit_BBIO

Post by szlztt »

CAn someone please tell me where the link is to post a new topic?

User avatar
drewfustini
 
Posts: 944
Joined: Sat Dec 26, 2015 1:19 pm

Re: Can;t install Adafruit_BBIO

Post by drewfustini »

This is the link to post a new topic in this "Beagle Bone & Adafruit Beagle Bone products" forum:
posting.php?mode=post&f=49

Here's an overview of how the Adafruit forums work:
https://www.youtube.com/watch?v=HnTXXu9Bve0

Locked
Please be positive and constructive with your questions and comments.

Return to “Beagle Bone & Adafruit Beagle Bone products”