You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run the command:
python run.py I get the below error.
File "run.py", line 16
print "Service {} not running, starting service at port {} on host {}".format(svc, port, host)
SyntaxError: invalid syntax
Would you know why the error occurs.
The text was updated successfully, but these errors were encountered:
@balajikadambi Hi,
The repository project is based of for Python 2.7
For Python 3, the print statement has been changed to print function and the correct way to write that will be:
print("Service {} not running, starting service at port {} on host {}".format(svc, port, host))
Hi @h4xr
I have Python 3.7.0 on my mac machine.
When I run the command:
python run.py I get the below error.
File "run.py", line 16
print "Service {} not running, starting service at port {} on host {}".format(svc, port, host)
SyntaxError: invalid syntax
Would you know why the error occurs.
The text was updated successfully, but these errors were encountered: