socketIO-client icon indicating copy to clipboard operation
socketIO-client copied to clipboard

How to use/install on Win8?

Open avielhauer opened this issue 9 years ago • 3 comments

Hello,

how do I execute the install instructions (https://pypi.python.org/pypi/socketIO-client) correctly on my Windows machine? Or is "py -m pip install -U socketIO-client" okay as well?

When I try "s = socketIO('localhost', 8094)" with a server listening on port 8094, it gives me an error:

C:\Users\Alexander\Desktop\helpstone\streamerApp>py streamerApp.py Traceback (most recent call last): File "streamerApp.py", line 775, in main() File "streamerApp.py", line 745, in main s = SocketIO('localhost', 8094) File "C:\Users\Alexander\AppData\Local\Programs\Python\Python35\lib\site-packa ges\socketIO_client__init__.py", line 331, in init resource, hurry_interval_in_seconds, **kw) File "C:\Users\Alexander\AppData\Local\Programs\Python\Python35\lib\site-packa ges\socketIO_client__init__.py", line 51, in init self.transport File "C:\Users\Alexander\AppData\Local\Programs\Python\Python35\lib\site-packa ges\socketIO_client__init_.py", line 59, in _transport self.engineIO_session = self.get_engineIO_session() File "C:\Users\Alexander\AppData\Local\Programs\Python\Python35\lib\site-packa ges\socketIO_client__init.py", line 73, in _get_engineIO_session transport.recv_packet()) StopIteration

avielhauer avatar Nov 06 '15 17:11 avielhauer

We haven't tested the library on Windows yet.

Does the script work in Linux? If it works, then it might be a Windows-specific issue.

invisibleroads avatar Dec 11 '16 04:12 invisibleroads

From the ubuntu 16.04 user, I've also got the same problem. i use python 2.7

tutorgaming avatar May 23 '17 05:05 tutorgaming

Same on ubuntu 16.4 raspi2 and raspi 3

aaryadev avatar Jun 09 '17 06:06 aaryadev