On 24/8/21 1:46 pm, Peter Vollan wrote:
I did everything you said. Now, how do I get it to run?
What exactly did you do? The last step of my instructions said:
This does mean you'll need to invoke your script specifically with "python3.5 ...".
Did you try this? If if failed, please say why it failed. I can't see your screen from here. In detail: You need to find where mcomm lives, and invoke it with python3.5. There are other ways to fry this fish, but you need to ensure that this step works first. At a pinch (because my Linux environment is not your Linux environment), try: $ python3.5 $(which mcomm) (that is if mcomm is called mcomm, and not mcomm.py - if it is invoked as mcomm.py, please change the appropriate text after the which command). Cheers, --dt
On Mon, 23 Aug 2021 at 18:23, Daryl Tester <[email protected] <mailto:[email protected]>> wrote: 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 <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 >
