-
Notifications
You must be signed in to change notification settings - Fork 244
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error installing #111
Comments
Cloned and installed it manually it is working fine |
the same error( |
maybe pip3 install django_socketio can solve |
Hello there support team, I got the same error while installing it. I also tried installing it manually but still nothing. I'm using django version 2.0. Please help. |
same error |
1 similar comment
same error |
same error ! |
python3.7 , django2.1.4, except IndexError, KeyError: |
I had the same problem too, but I found that while |
same issue |
I used python 2.7, it works. you have to degrade your python version. |
@lindalibjchn I think Python 2 is going out of style and will have less support so its not an option. but now that we know that it works with python 2 and not 3, maybe we can just update it from python 2 to python 3 and itll work again |
The latest version of django-socketio is released on 2014. It's seems pretty old. I think it's better to use Django Channels. For references, |
It's not a great idea to degrade to 2.7. It's pretty old and not recommended.. |
pip install django-socketio problem Collecting django-socketio × python setup.py egg_info did not run successfully. note: This error originates from a subprocess, and is likely not a problem with pip. × Encountered error while generating package metadata. note: This is an issue with the package mentioned above, not pip. |
I have solutions for this installation problem
Define a list to hold Event instancesevent_instances = [] on_connect = Event(False) Add the Event instances to the listevent_instances.extend([ Set the "name" attribute for each Event instancefor event_instance in event_instances: Now you can continue using the Event instances as before
I hope django-scoketio will work after all these changes |
events.py file
utils.py
|
I keep getting this error when I install.
Collecting django-socketio==0.3.9
Using cached django-socketio-0.3.9.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\esare\AppData\Local\Temp\pip-build-qa39znes\django-socketio\setup.py", line 7, in
version = import("django_socketio").version,
File "C:\Users\esare\AppData\Local\Temp\pip-build-qa39znes\django-socketio\django_socketio_init_.py", line 2, in
from django_socketio.utils import NoSocket, send, broadcast, broadcast_channel
File "C:\Users\esare\AppData\Local\Temp\pip-build-qa39znes\django-socketio\django_socketio\utils.py", line 44
except IndexError, KeyError:
^
SyntaxError: invalid syntax
Command "python setup.py egg_info" failed with error code 1 in C:\Users\esare\AppData\Local\Temp\pip-build-qa39znes\django-socketio\
The text was updated successfully, but these errors were encountered: