Installation problem

32 views
Skip to first unread message

emres...@gmail.com

unread,
Nov 15, 2015, 2:59:26 PM11/15/15
to tagtime
Hello,

as a pre-newbie to perl and python I had an issue with installation that I could not fix. I am using Linux, but that should be irrelevant.

After doing all the updates at cpan, I tried `python install.py <user-name>`, with my actual username. But it gives me a syntax error:

>File "install.py", line 10
>print "usage: %s "%sys.argv[0]
>                          ^
>SyntaxError: Missing parentheses in call to 'print'

Either this code is not written in python or there is something fundamental that I am missing.

Could you point me in the right direction?

Thanks,
Emre

Geoff Hubbard

unread,
Nov 15, 2015, 6:58:07 PM11/15/15
to tag...@googlegroups.com

Hi Emre,

You are running python3 and the script is for python2.

You'll need to work out how to run python2 on your system
(This may be as simple as running 'python2 install.py')

If that doesn't work, you'll either need to work out how to install
python2 or or upgrade the install.py script to work with python3.

Geoff.
> --
> You received this message because you are subscribed to the Google Groups "tagtime" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to tagtime+u...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

emres...@gmail.com

unread,
Nov 16, 2015, 3:15:58 AM11/16/15
to tagtime, geoff....@instihost.com
Thanks Geoff,

Using 'python2 install.py' worked. Now, TagTime is watching me!

Emre
Reply all
Reply to author
Forward
0 new messages