Correctly install django-socketio and django-socketio
You can directly use pip for installation and cannot run even the example project...
The key to normal use is to use the correct version of the dependency package.
- Django (1.5.5)
- Django-socketio (0.3.2)
- Gevent (0.13.6)
- Gevent-socketio (0.2.1)
- Gevent-websocket (0.2.3)
- Greenlet (0.4.4)
The gevent version must be earlier than 1.0. Other versions of 0.X have not been tested.
In addition, gevent-socketio needs to be modified to the following in handler. py:
54 # In case this is WebSocket request, switch to the WebSocketHandler55 if transport in (transports.WebsocketTransport, \56 transports.FlashSocketTransport):57 self.__class__ = WebSocketHandler58 WebSocketHandler(self)59 self.handle_one_response(call_wsgi_app=False)60 session = self.server.get_session()61 else:62 session = self.server.get_session(session_id)
Incorrect installation
Are you sure you want to install this program on your computer ). If this program is installed, click it to install it correctly. If this program is not installed, you can use 1st items. If the first item is not installed successfully (manually confirm it )... you can only search for the latest version of for win7 on Toshiba's website. In most cases, this can be ignored. It is rare that the installation fails.
How to correctly install the Computer System
Simple: online tutorials