adafruit / Adafruit_CircuitPython_ServoKit

CircuitPython helper library for the PWM/Servo FeatherWing, Shield and Pi HAT kits.
MIT License
70 stars 30 forks source link

python3.6.9 #46

Closed Manarit closed 2 years ago

Manarit commented 2 years ago

usr/bin/python3 /home/nano/Desktop/PyProjects/teste_servos.py Traceback (most recent call last): File "/home/nano/Desktop/PyProjects/teste_servos.py", line 1, in from adafruit_servokit import ServoKit File "/usr/local/lib/python3.6/dist-packages/adafruit_servokit.py", line 35, in import board File "/usr/local/lib/python3.6/dist-packages/board.py", line 39, in import adafruit_platformdetect.constants.boards as ap_board File "/usr/local/lib/python3.6/dist-packages/adafruit_platformdetect/init.py", line 10, in from .board import Board File "/usr/local/lib/python3.6/dist-packages/adafruit_platformdetect/board.py", line 24 from future import annotations ^ SyntaxError: future feature annotations is not defined

I've already tryed to upgrade to 3.8 for example, but i have others issues, like just install opencv on the 3.6. or pip continue using the previous one.

How can i update my jetson? I'm using one by "yahboom" store.

I'm a beginner user.

tekktrik commented 2 years ago

The base for Blinka is now Python 3.7, you can find instructions on how to update in this Learn Guide.