Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SyntaxError on Arch Linux #4

Closed
Alibloke opened this issue Sep 25, 2011 · 3 comments
Closed

SyntaxError on Arch Linux #4

Alibloke opened this issue Sep 25, 2011 · 3 comments

Comments

@Alibloke
Copy link

I've successfully used this script with ubuntu, but Arch Linux seems to be trickier. I get the following error when I run upcs:
File "", line 1
import os,sys;print os.path.realpath(sys.argv[1])
^
SyntaxError: invalid syntax

@chmouel
Copy link
Owner

chmouel commented Sep 25, 2011

weird what python version are you using?

@Alibloke
Copy link
Author

D'oh, forgot Arch has an odd implementation of python. I needed to rename the script to use python2 instead of just python - works now ;)

@chmouel
Copy link
Owner

chmouel commented Sep 25, 2011

Well i guess it's still a bug, I am guessing Arch as python3 as default and upcs doesn't work with it..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants