dracoventions / TWCManager

Control power delivered by a Tesla Wall Charger using two wires screwed into its RS-485 terminals.
The Unlicense
182 stars 110 forks source link

install sysv_ipc SyntaxError: invalid syntax #31

Open lkyan opened 3 years ago

lkyan commented 3 years ago

SyntaxError: invalid syntax

pi@raspberrypi:~ $ sudo python3 -m pip install sysv_ipc Collecting sysv_ipc Using cached https://files.pythonhosted.org/packages/0c/d7/5d2f861155e9749f981e6c58f2a482d3ab458bf8c35ae24d4b4d5899ebf9/sysv_ipc-1.1.0.tar.gz Complete output from command python setup.py egg_info: Traceback (most recent call last): File "", line 1, in File "/tmp/pip-build-udoiaogl/sysv-ipc/setup.py", line 11, in import prober File "/tmp/pip-build-udoiaogl/sysv-ipc/prober.py", line 137 d["SYSV_IPC_VERSION"] = f'"{version}"' ^ SyntaxError: invalid syntax

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

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-udoiaogl/sysv-ipc/

lkyan commented 3 years ago

debug sudo pip3 install sysv_ipc==1.0.1

Jille commented 2 years ago

Which version of Python are you using? fstrings are a Python 3.6 feature.