Open Siddhisa opened 4 years ago
File "server.py", line 217 print 'HTTP server started on port 8080' ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print('HTTP server started on port 8080')? This is my error at server end
The code you've probably downloaded is of Python2.7 one, in which the syntax of print() is different to Python 3.
download Python3 code using git clone https://github.com/insidesherpa/JPMC-tech-task-1-py3.git
I did the cloning again and tried python server3.py and it shows same results
On Tue, May 12, 2020 at 10:19 PM Pranove A B notifications@github.com wrote:
File "server.py", line 217 print 'HTTP server started on port 8080' ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print('HTTP server started on port 8080')? This is my error at server end
The code you've probably downloaded is of Python2.7 one, in which the syntax of print() is different to Python 3.
download Python3 code using git clone https://github.com/insidesherpa/JPMC-tech-task-1-py3.git
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/insidesherpa/JPMC-tech-task-1-PY3/issues/75#issuecomment-627463629, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKLAB3WOTOQXOOHBLMKDFNLRRF42DANCNFSM4M656EWQ .
Same For me,I am unable to run server.py or client.py
I did the cloning again and tried python server3.py and it shows same results … On Tue, May 12, 2020 at 10:19 PM Pranove A B @.***> wrote: File "server.py", line 217 print 'HTTP server started on port 8080' ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print('HTTP server started on port 8080')? This is my error at server end The code you've probably downloaded is of Python2.7 one, in which the syntax of print() is different to Python 3. download Python3 code using git clone https://github.com/insidesherpa/JPMC-tech-task-1-py3.git — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#75 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKLAB3WOTOQXOOHBLMKDFNLRRF42DANCNFSM4M656EWQ .
Try this command python3 server3.py
File "server.py", line 217 print 'HTTP server started on port 8080' ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print('HTTP server started on port 8080')? This is my error at server end
This error is coming because you are using a different Python version and directing a wrong path in the cmd.
Check this out and let me know.
I am not getting anything on my administration terminal once I have given a command python server3.py please help me out
I had also encounter the same problem. Use python server3.py instead of python3 server3.py.
I had also encounter the same problem. Use python server3.py instead of python3 server3.py.
Thanks ... But after doing it .... The terminal again didn't reacted but opened my file on pycharm ... So what did that mean ... Is the work done??
No ,this shouldn't have to be occured. have a try->You must open cmd for sever in administrator mode then open cmd again, but in simple mode for client. If this doesn't solve your problem then go again to check the installation process. i think the local setup is not done properly.
File "server.py", line 217 print 'HTTP server started on port 8080' ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print('HTTP server started on port 8080')? This is my error at server end