open-discussion > one bracket too many?
Showing 1-1 of 1 posts
Aug 25, 2017 02:08 PM | Emma Sprooten
one bracket too many?
Dear Andrew Plassard et al,
I just installed py-jist (which has been a lifesaver!) on a new machine. I got the same message when running setup.py and JIST-run tests:
File "/Users/emmasprooten/Library/Python/2.7/lib/python/site-packages/PyJIST/PyJIST.py", line 155
os.system(full_cmd))
^
SyntaxError: invalid syntax
Based on this I removed the last bracket on line 155 in setup.py: os.system(full_cmd))
Now it all runs fine. Not sure if this little bracket was added recently but I thought it's worth sharing my experience.
Emma
I just installed py-jist (which has been a lifesaver!) on a new machine. I got the same message when running setup.py and JIST-run tests:
File "/Users/emmasprooten/Library/Python/2.7/lib/python/site-packages/PyJIST/PyJIST.py", line 155
os.system(full_cmd))
^
SyntaxError: invalid syntax
Based on this I removed the last bracket on line 155 in setup.py: os.system(full_cmd))
Now it all runs fine. Not sure if this little bracket was added recently but I thought it's worth sharing my experience.
Emma