Adafruit board PCA9685, installation of drivers on Jetson Nano

Using Adafruit board PCA9685, during installation of drivers on Jetson Nano:

something goes wrong with

pip3 install adafruit-circuitpython-servokit

This is the log:

Collecting Adafruit-Blinka>=7.0.0 (from adafruit-circuitpython-servokit)
Could not find a version that satisfies the requirement Adafruit-Blinka>=7.0.0 (from adafruit-circuitpython-servokit) (from versions: 0.1.3, 0.1.4, 0.1.5, 0.1.6, 0.1.7, 0.1.8, 0.1.9, 0.1.10, 0.2, 0.2.1, 0.2.2, 0.2.3, 0.2.4, 0.2.5, 0.2.6, 0.2.7, 0.3.0, 0.3.1, 0.3.2, 0.4.0, 1.0.2, 1.1.0, 1.1.1, 1.2.0, 1.2.1, 1.2.3, 1.2.4, 1.2.5, 1.2.6, 1.2.7, 1.2.8, 1.3.0, 1.3.1, 1.3.2, 1.3.3, 1.3.4, 2.0.0, 2.0.1, 2.0.2, 2.1.0, 2.1.1, 2.1.2, 2.1.3, 2.1.4, 2.1.5, 2.1.6, 2.2.0, 2.2.1, 2.3.0, 2.3.1, 2.3.2, 2.3.3, 2.4.0, 2.4.1, 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.6.0, 2.6.1, 3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4, 3.0.5, 3.0.6, 3.0.7, 3.0.8, 3.1.0, 3.1.1, 3.1.2, 3.2.0, 3.3.0, 3.3.1, 3.3.2, 3.3.3, 3.3.4, 3.3.5, 3.3.6, 3.3.7, 3.3.8, 3.3.9, 3.3.10, 3.4.0, 3.4.1, 3.5.0, 3.5.1, 3.5.2, 3.6.0, 3.6.1, 3.7.0, 3.7.1, 3.8.0, 3.9.0, 3.10.0, 4.0.0, 4.1.0, 4.2.0, 4.3.0, 4.4.0, 4.5.0, 4.6.0, 4.7.0, 4.8.0, 4.8.1, 4.9.0, 4.10.0, 4.10.1, 5.0.0, 5.0.1, 5.1.0, 5.2.0, 5.2.1, 5.2.2, 5.2.3, 5.2.4, 5.3.0, 5.3.1, 5.3.2, 5.3.3, 5.3.4, 5.4.0, 5.4.1, 5.5.0, 5.5.1, 5.5.2, 5.5.3, 5.5.4, 5.6.0, 5.7.0, 5.8.0, 5.8.1, 5.8.2, 5.9.0, 5.9.1, 5.9.2, 5.10.0, 5.11.0, 5.12.0, 5.13.0, 5.13.1, 6.0.0, 6.0.1, 6.0.2, 6.1.0, 6.2.0, 6.2.1, 6.2.2, 6.3.0, 6.3.1, 6.3.2, 6.4.0, 6.4.1, 6.4.2, 6.5.0, 6.6.0, 6.6.1, 6.6.2, 6.7.0, 6.8.0, 6.8.1, 6.8.2, 6.8.3, 6.9.0, 6.9.1, 6.9.2, 6.10.0, 6.10.1, 6.10.2, 6.10.3, 6.11.0, 6.11.1, 6.12.0, 6.13.0, 6.13.1, 6.14.0, 6.14.1, 6.15.0)
No matching distribution found for Adafruit-Blinka>=7.0.0 (from adafruit-circuitpython-servokit)

Is it possibl to fix it ?
Thank you very much.

Try to install blinka first: sudo pip3 install Adafruit-Blinka, maybe helps. Also this one talks about how to get the blinka working on a jetson nano: Initial Setup | CircuitPython Libraries on Linux and the NVIDIA Jetson Nano | Adafruit Learning System

1 Like

Hi Rubberazer,
first of all thank you for your answer.

Here is the log of the Jetson ( JetPack version: 4.6.1)

teocrito@teocrito-desktop:~$ sudo pip3 install Adafruit-Blinka

The directory ‘/home/teocrito/.cache/pip/http’ or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo’s -H flag.
The directory ‘/home/teocrito/.cache/pip’ or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo’s -H flag.

Collecting Adafruit-Blinka
Downloading https://files.pythonhosted.org/packages/c9/e1/0d7ec71a9c7b246a47e5dfc128ade92c8287d96a829663661c9be12681f8/Adafr uit-Blinka-6.15.0.tar.gz (151kB)
100% |¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦| 153kB 738kB/s
Complete output from command python setup.py egg_info:
/usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: ‘long_description_content_type’
warnings.warn(msg)
Traceback (most recent call last):
File “”, line 1, in
File “/tmp/pip-build-fikj0xbc/Adafruit-Blinka/setup.py”, line 84, in
“Programming Language :: Python :: Implementation :: MicroPython”,
File “/usr/lib/python3/dist-packages/setuptools/init.py”, line 129, in setup
return distutils.core.setup(**attrs)
File “/usr/lib/python3.6/distutils/core.py”, line 108, in setup
_setup_distribution = dist = klass(attrs)
File “/usr/lib/python3/dist-packages/setuptools/dist.py”, line 372, in init
_Distribution.init(self, attrs)
File “/usr/lib/python3.6/distutils/dist.py”, line 281, in init
self.finalize_options()
File “/usr/lib/python3/dist-packages/setuptools/dist.py”, line 528, in finalize_options
ep.load()(self, ep.name, value)
File “/usr/lib/python3/dist-packages/pkg_resources/init.py”, line 2324, in load
return self.resolve()
File “/usr/lib/python3/dist-packages/pkg_resources/init.py”, line 2330, in resolve
module = import(self.module_name, fromlist=[‘name’], level=0)
File “/tmp/pip-build-fikj0xbc/Adafruit-Blinka/.eggs/setuptools_scm-7.0.5-py3.6.egg/setuptools_scm/init.py”, line 5
from future import annotations
^
SyntaxError: future feature annotations is not defined

----------------------------------------

Command “python setup.py egg_info” failed with error code 1 in /tmp/pip-build-fikj0xbc/Adafruit-Blinka/

Can I ignore this error?

Hi Antonio,

thank you also for the link to Adafruit setup page for jetson nano.
I will read it in order to solve my problem

No you can’t, it failed to install, you can have a go with sudo -H pip3 install Adafruit-Blinka but also yes it’s a good idea to follow the instructions on that link, they do the whole process from scratch and maybe there is some step that is needed before getting to this point

1 Like

Hi Antonio,
I think that the instruction of Adafruit at

are very well done and well detailed but probably obsolete in some parts .
I write so because after a fresh image of Jetson Nano I have received some errors during installation (for example with

ls /dev/i2c* /dev/spi*
cannot access ‘/dev/spi*’: No such file or directory

or

sudo usermod -a -G gpio pi
usermod: user ‘pi’ does not exist

and many other)

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.