SyntaxError: Missing parentheses in call to 'print'.
Hi, there:
I was following the online instruction to download MTAG, but got the following error. I tried to both python2 and python 3. Neither works.

Can someone please kindly let me know how to resolve this?
Thank you very much & best regards, Jie
The missing parentheses error is because you were trying to run with Python 3 initially, though mtag is written in Python 2 (where print is a statement and not a function, thus Python 3 being confused about the lack of parentheses).
Running with Python 2 is the way to go, but it looks like your environment doesn't have all the packages you need (in this case, you're missing numpy, at least). You could check the "Getting Started" part of the wiki for the list of packages you'll require.
Dear Jonathan:
Thank you very much! i wish there is a python3 based MTAG someday soon.
I always get easily confused with python2/python3, pip2/pip3, conda2/conda3...
So, can you please kindly let me know if the following is the right series of command, for my system that by default has python3?
- conda create -n py2 python=2.7
- conda activate py2
- pip install numpy>=1.13.1 scipy pandas>=0.18.1 argparsebitarray joblib
Best regards, Jie
That looks right, I think (though you need a space between "argparse" and "bitarray"). I believe you can also use the environment.yml file that comes with mtag.