Closed saileshkush95 closed 4 years ago
In the requirements.txt it says websockets==3.2
which is outdated and this version has a problem with python 3.7 (because async is reserved keyword since python 3.7, therefore syntax error).
Just run pip install --upgrade websockets
in your (virtual) environment to get an updated package which fixes the issue.
Thanks I'll try...
@saemideluxe when I changed the requirements.txt to websockets==8.1
the project still installs 3.2. Any idea why?
@morenoh149 did you run pip install --upgrade -r requirements.txt
?
In case this would not work you could still try to uninstall the websockets package and reinstall it.
If it still does not work you can either wait for the pull request #48 to be merged or post your pip commands and the output of the commands here. And maybe also your requirements.txt.
yeah we found the package was declared twice, once in requirements.txt and again in setup.py. Fix is to upgrade both places and reinstall. Hopefully the PR gets merged.
Description
I'm trying to run server django-chat-server
What I Did
python manage.py run_chat_server