Neopixels

Moderators: adafruit_support_bill, adafruit

Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
Locked
User avatar
alphagenius
 
Posts: 42
Joined: Sat Feb 04, 2017 4:27 pm

Neopixels

Post by alphagenius »

I am working on a project with the Neopixel jewel and I was following the instructions located here: https://learn.adafruit.com/neopixels-on ... i/software. I could not get scons & swig to install with apt-get so I had to download them and install them manually. They installed fine. Everything was smooth sailing until I got to the part about "sudo python setup.py install." When I did that, I got the following error:

swig: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory
error: command 'swig' failed with exit status

Will someone please help me fix this error?

User avatar
adafruit_support_carter
 
Posts: 29457
Joined: Tue Nov 29, 2016 2:45 pm

Re: Neopixels

Post by adafruit_support_carter »

Whatever you installed must have some difference from what gets installed via the package manager.
I could not get scons & swig to install with apt-get
What happened when you tried?

User avatar
alphagenius
 
Posts: 42
Joined: Sat Feb 04, 2017 4:27 pm

Re: Neopixels

Post by alphagenius »

When I use the package manager to install scons and swig, I get the message that it could not locate the packages.

User avatar
adafruit_support_carter
 
Posts: 29457
Joined: Tue Nov 29, 2016 2:45 pm

Re: Neopixels

Post by adafruit_support_carter »

Did you run "sudo apt-get update" first? What OS are you using? I just ran:

Code: Select all

sudo apt-get update
sudo apt-get install swig scons
and everything installed fine on Raspbian Stretch.

User avatar
alphagenius
 
Posts: 42
Joined: Sat Feb 04, 2017 4:27 pm

Re: Neopixels

Post by alphagenius »

I got it to work. I must have made a typo the first time I did it. Thank you for your help.

Locked
Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/

Return to “Adafruit Raspberry Pi® accessories”