-
Notifications
You must be signed in to change notification settings - Fork 95
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
ankiserverctl.py adduser admin FAIL. Missing parentheses in call to 'print'. #82
Comments
I'm not involved with this project at all, but this sounds like the issue you're having is that you're installing on Python 3 and it needs to be installed on python 2. Try to install an environment of python 2 and try installing via pip2. Assuming you're on a debian linux system, a quick google search gives a good starting point (look at the accepted answer) here. Print statements from python 2 didn't use parenthesis and that's probably why you're getting the error here. |
Thanks. Pip install fixed it. |
Hi, I am getting the error mentioned above again. Im using a virtualenv and python3.7
|
Thank you for anki-sync-server
The following fails with error " Missing parentheses in call to 'print'."
Best wishes
Output
(Anki-Server) [me@tower Anki-Server]$ ankiserverctl.py adduser admin
File "/home/me/Development/Python/Anki-Server/bin/ankiserverctl.py", line 18
print "usage: "+sys.argv[0]+" []"
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("usage: "+sys.argv[0]+" []")?
(Anki-Server) [me@tower Anki-Server]$ ls production.ini
production.ini
production.ini is an unchanged copy of example.ini
Environment
Python 3.7.2
$ uname -a
Linux tower 4.19.28-1-MANJARO #1 SMP PREEMPT Sun Mar 10 08:32:42 UTC 2019 x86_64 GNU/Linux
The text was updated successfully, but these errors were encountered: