Jetbot with ServoKit - problem with installation

Hello, just now i downloaded your Jetbot image to my 128GB SD card.
This is based on jetpack 4.3 that i had before in another SD card.
The problem happens only with the Jetbot image.
I just cannot download libraries of “servokit” using this command:
“sudo pip3 install adafruit-circuitpython-servokit”

Please, i will be happy and appreciate if you help me to use servo motors with the Jetbot, and solve this issue, thanks a lot.
The error i get is long and here it is:
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 /usr/local/lib/python3.6/dist-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-8yqo8kv3/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i Simple index – ‘setuptools>=30.3.0’ wheel setuptools_scm
cwd: None
Complete output (39 lines):
Traceback (most recent call last):
File “/usr/lib/python3.6/runpy.py”, line 193, in _run_module_as_main
main”, mod_spec)
File “/usr/lib/python3.6/runpy.py”, line 85, in _run_code
exec(code, run_globals)
File “/usr/local/lib/python3.6/dist-packages/pip/main.py”, line 23, in
from pip._internal.cli.main import main as _main # isort:skip # noqa
File “/usr/local/lib/python3.6/dist-packages/pip/_internal/cli/main.py”, line 5, in
import locale
File “/usr/lib/python3.6/locale.py”, line 16, in
import re
File “/usr/lib/python3.6/re.py”, line 142, in
class RegexFlag(enum.IntFlag):
AttributeError: module ‘enum’ has no attribute ‘IntFlag’
Error in sys.excepthook:
Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/apport_python_hook.py”, line 62, in apport_excepthook
if not enabled():
File “/usr/lib/python3/dist-packages/apport_python_hook.py”, line 24, in enabled
import re
File “/usr/lib/python3.6/re.py”, line 142, in
class RegexFlag(enum.IntFlag):
AttributeError: module ‘enum’ has no attribute ‘IntFlag’

Original exception was:
Traceback (most recent call last):
File “/usr/lib/python3.6/runpy.py”, line 193, in _run_module_as_main
main”, mod_spec)
File “/usr/lib/python3.6/runpy.py”, line 85, in _run_code
exec(code, run_globals)
File “/usr/local/lib/python3.6/dist-packages/pip/main.py”, line 23, in
from pip._internal.cli.main import main as _main # isort:skip # noqa
File “/usr/local/lib/python3.6/dist-packages/pip/_internal/cli/main.py”, line 5, in
import locale
File “/usr/lib/python3.6/locale.py”, line 16, in
import re
File “/usr/lib/python3.6/re.py”, line 142, in
class RegexFlag(enum.IntFlag):
AttributeError: module ‘enum’ has no attribute ‘IntFlag’

ERROR: Command errored out with exit status 1: /usr/bin/python3 /usr/local/lib/python3.6/dist-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-8yqo8kv3/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i Simple index – ‘setuptools>=30.3.0’ wheel setuptools_scm Check the logs for full command output.

Please refer to Jetbot motors are not moving! to see if can help.

Hi yonip94,

I understand you cannot download and install adafruit-circuitpython-servokit at Jetbot.

BTW, Could you share which Jetbot you have?
NVIDIA’s original Jetbot (GitHub - NVIDIA-AI-IOT/jetbot: An educational AI robot based on NVIDIA Jetson Nano.) is pretty different from Waveshare’s one.

i succeed to solve the problem by using sudo -i
and then install what needed. thanks a lot for your respond

Good to hear that!

1 Like