insidesherpa / JPMC-tech-task-2-PY3

29 stars 348 forks source link

Nothing showing after typing following command #158

Open kamyap opened 4 years ago

kamyap commented 4 years ago

python3 datafeed/server3.py

Please tell me how i canget the required output

Rupesh-rkgit commented 4 years ago

use python datafeed/server3.py instead

emmanuel-jr commented 4 years ago

Use python not python3 whether you have any python 2.x version as well. I speak from experience python datafeed/server3.py - on python 3.x versions python datafeed/server.py - on python 2.x versions

kamyap commented 4 years ago

On typing this command -python datafeed/server3.py the following error is showing up now Traceback (most recent call last): File "datafeed/server3.py", line 320, in run(App()) File "datafeed/server3.py", line 214, in run server = ThreadedHTTPServer((host, port), RequestHandler) File "C:\Users\kamya\AppData\Local\Programs\Python\Python37\lib\socketserver.py", line 452, in init self.server_bind() File "C:\Users\kamya\AppData\Local\Programs\Python\Python37\lib\http\server.py", line 137, in server_bind socketserver.TCPServer.server_bind(self) File "C:\Users\kamya\AppData\Local\Programs\Python\Python37\lib\socketserver.py", line 466, in server_bind self.socket.bind(self.server_address) OSError: [WinError 10013] An attempt was made to access a socket in a way forbidden by its access permissions

emmanuel-jr commented 4 years ago

On typing this command -python datafeed/server3.py the following error is showing up now Traceback (most recent call last): File "datafeed/server3.py", line 320, in run(App()) File "datafeed/server3.py", line 214, in run server = ThreadedHTTPServer((host, port), RequestHandler) File "C:\Users\kamya\AppData\Local\Programs\Python\Python37\lib\socketserver.py", line 452, in init self.server_bind() File "C:\Users\kamya\AppData\Local\Programs\Python\Python37\lib\http\server.py", line 137, in server_bind socketserver.TCPServer.server_bind(self) File "C:\Users\kamya\AppData\Local\Programs\Python\Python37\lib\socketserver.py", line 466, in server_bind self.socket.bind(self.server_address) OSError: [WinError 10013] An attempt was made to access a socket in a way forbidden by its access permissions

@kamyap do you mind sending a screenshot?

kamyap commented 4 years ago

er yeah sure

emmanuel-jr commented 4 years ago

Did you go through the troubleshootings from the task?

If so, refer to the issue below https://github.com/insidesherpa/JPMC-tech-task-2-PY3/issues/68#issuecomment-626126249

SiddhlodaAyyar commented 4 years ago

Watch this video and if you still get the error comment down in the youtube section and we'll try to solve it. https://youtu.be/wRAG9i8O_44