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: invalid syntax #96

Closed
liyuhang1997 opened this issue Jul 4, 2018 · 4 comments
Closed

SyntaxError: invalid syntax #96

liyuhang1997 opened this issue Jul 4, 2018 · 4 comments

Comments

@liyuhang1997
Copy link

# autosub -h
  File "/usr/local/bin/autosub", line 136
    print "The given file does not exist: {0}".format(filename)
                                             ^
SyntaxError: invalid syntax
root@ubuntu:~# autosub -h
  File "/usr/local/bin/autosub", line 136
    print "The given file does not exist: {0}".format(filename)
                                             ^
SyntaxError: invalid syntax
@osterhult
Copy link

osterhult commented Jul 4, 2018

I get exactly the same error. No Idea what to do.
ADDED: Tried to install from a clean computer and get the same issue. Please fix!

@codereason
Copy link

codereason commented Jul 20, 2018

Oh, maybe you test it on your Python 3, therefore print gets error, should be like this:
print ( "blablabla" )
Just change my environment to Python 2.7.12 to run. it works !!

@Hitaro
Copy link

Hitaro commented Oct 10, 2018

I get same error on line 136 and I'm using Archlinux with python3 as default

@Moanrisy
Copy link

although I change my environment to Python 2.7.18, it still produces the same rror "invalid syntax"

king350023 pushed a commit to king350023/pyTranscriber that referenced this issue Jul 31, 2023
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

5 participants