PCA9685 with RPi 3 B+

Hi! I wonder if somebody could help me.

I recently installed the Ubiquity Image on RPi 3 Model B+, it works great.

I was previously using the PCA9685 driver for servo movement on Raspbian. I’m am now trying to implement this code onto the Ubiquity image and make it ROS compatible.

The problem I am having is when trying to run the following command:

  • pip3 install adafruit-circuitpython-pca9685C

I get the following error:

Traceback (most recent call last):
File “/usr/bin/pip3”, line 11, in
sys.exit(main())
File “/usr/lib/python3/dist-packages/pip/init.py”, line 215, in main
locale.setlocale(locale.LC_ALL, ‘’)
File “/usr/lib/python3.5/locale.py”, line 594, in setlocale
return _setlocale(category, locale)
locale.Error: unsupported locale setting

Upon looking up how to fix this online, the fixes do not work because of how the locale settings are accessed on this image; so it seems. I’m quite new to this kind of stuff, so please let me know if there’s an easy fix to this. I would rather write this in Python, as most of my old code is in it.
But will consider moving to C++ if essential.

unless you have a RTC the clock will need to be reset the each time your Pi3 is started. the internet needs to have the time to be fairly close. raspbian gits the time from internet servers but the Ubiquity OS does not and if you change it to do that it will go back the default settings when you reboot your Pi.

Thank you wildwingman. The dream of this forum is to have users helping users and ubiquity folks chiming in as needed. We try real hard to check the forum but are insanely busy so it’s hard to keep up if a question shows up.
Thanks,
mark

Thank you for your reply wildwingman.
Does that mean that there is no way of installing Python libraries on the Ubiquity image in the usual way by using “sudo pip3 install”?
I also do realize that perhaps because this library is python 3 compatible it is causing a problem.
I have found an alternative way to get my servo’s working, but would still prefer to use this specific python library. Thank you!