Peter, I responded to this earlier this month. To quote:
Earlier, Peter Vollan wrote:
Do I have the wrong type of Python? I run Mint 17.3.
According to the interwebz, default Python for Mint 17.3 is Python 3.4, and the
traceback
"SyntaxError: can use starred expression only as assignment target" is specific
to
< Python 3.5, so yeah, you'll need to get a later version. See:
<https://stackoverflow.com/questions/34372731/installing-python-3-5-on-linux-mint-17-3>
This does mean you'll need to invoke your script specifically with "python3.5
...".
On 24/8/21 10:11 am, Peter Vollan wrote:
When I invoke mcomm with "mcomm" at the command line, it calls the following
script:
#!/usr/bin/python3
""" Launch mcomm
"""
import subprocess
import sys
subprocess.call(["python3", "/usr/share/mcomm/mcomm.py", *sys.argv[1:]])
...which yields the following error message:
File "/usr/bin/mcomm", line 6
subprocess.call(["python3", "/usr/share/mcomm/mcomm.py", *sys.argv[1:]])
^
SyntaxError: can use starred expression only as assignment target
Sorry to bother everyone with this, I'm sure it is something simple about
python. My python3 is 3.4.3