On my platform it's called "yapps2":
Code:
$ which yapps2
/usr/bin/yapps2
which is a symlink:
Code:
$ ls -la /usr/bin/yapps2
lrwxrwxrwx 1 root root 31 Feb 25 23:58 /usr/bin/yapps2 -> ../lib/python-exec/python-exec2
I have tried symlinking a "yapps" to "yapps" but that doesn't work. I have symlinked "yapps" to ../lib/python-exec/python-exec2 and copied /usr/lib/python-exec/python2.7/yapps2 to /usr/lib/python-exec/python2.7/yapps. Now I can run yapps from the command line (it gives the same error about no input as yapps2).
Make now has this at the end:
Code:
Syntax checking python script halcompile
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "objects/hal/utils/halcompile.py", line 1307
""" % {'name': os.path.basename(sys.argv[0])}
^
SyntaxError: invalid syntax
make: *** [hal/utils/Submakefile:89: ../bin/halcompile] Error 1
This is an error when parsing halcompile.py, not when running it. My python version is:
Code:
python --version
Python 2.7.14
Any ideas on how to correct the syntax of the offending piece of code?