PCA9685 icon indicating copy to clipboard operation
PCA9685 copied to clipboard

"SyntaxError: invalid syntax" installing adafruit-circuitpython-servokit

Open KongCarl opened this issue 3 years ago • 0 comments

As of writing, Raspian python version is still 3.5.

sudo pip3 install adafruit-circuitpython-servokit

Will error with:

Complete output from command python setup.py egg_info: Traceback (most recent call last): File "<string>", line 1, in <module> File "/tmp/pip-build-8kymj0iq/sysv-ipc/setup.py", line 11, in <module> import prober File "/tmp/pip-build-8kymj0iq/sysv-ipc/prober.py", line 137 d["SYSV_IPC_VERSION"] = f'"{version}"' ^ SyntaxError: invalid syntax

Workaround is to:

sudo pip3 install sysv_ipc==1.0.1

Hope this helps someone who has the same issue.

Ref: https://github.com/osvenskan/sysv_ipc/issues/14

KongCarl avatar Sep 05 '21 20:09 KongCarl