3.4.1 RuntimeError
See original GitHub issue1.pip install django
Successfully installed asgiref-3.4.1 django-3.2.6 pytz-2021.1 sqlparse-0.4.1
2.django-admin startproject Sample
Traceback (most recent call last):
File "/django_venv/bin/django-admin", line 6, in <module>
from django.core.management import execute_from_command_line
File "/django_venv/lib/python3.8/site-packages/django/core/management/__init__.py", line 13, in <module>
from django.apps import apps
File "/django_venv/lib/python3.8/site-packages/django/apps/__init__.py", line 1, in <module>
from .config import AppConfig
File "/django_venv/lib/python3.8/site-packages/django/apps/config.py", line 7, in <module>
from django.utils.deprecation import RemovedInDjango41Warning
File "/django_venv/lib/python3.8/site-packages/django/utils/deprecation.py", line 5, in <module>
from asgiref.sync import sync_to_async
File "/django_venv/lib/python3.8/site-packages/asgiref/sync.py", line 304, in <module>
class SyncToAsync:
File "/django_venv/lib/python3.8/site-packages/asgiref/sync.py", line 328, in SyncToAsync
loop = get_running_loop()
RuntimeError: no running event loop
But use version 3.3.4 will be OK.
Issue Analytics
- State:
- Created 2 years ago
- Comments:11 (6 by maintainers)
Top Results From Across the Web
Unable to Import Python modules in CSense Python 3.4.1
I cannot use pip with Python 3.4.1, which is what CSense uses. Error in cmd (admin) = "RuntimeError: Python 3.5 or later is...
Read more >django RuntimeError at /admin/users/user/1/change/, Single ...
4 to 3.4.1. This appears to be due to a currently unresolved issue in channels 3.0.4 where concurrent requests on the Django development...
Read more >RuntimeError when saving a new course through admin panel
I was running Python 3.7 and Django 1.8 and was getting this error. I changed my settings to Python 3.4.1 (like Kenneth has...
Read more >Multiprocessing freeze_support raises RuntimeError
On Windows, I froze a script that uses multiprocessing with cx-freeze and Python 3.4.1 that had freeze_support() in the "if __name__ ...
Read more >3.4. Runtime Errors — COMP 1000 - Runestone Academy
A program with a runtime error is one that passed the interpreter's syntax checks, and started to execute. ... Activity: 3.4.1 ActiveCode (debug_rterr)....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks Carlton - that was indeed the problem. I’ve just pushed up a fix, will try and get it into a release soon.
I just have to get around to it - not sure when. Pandemic has put everything out of kilter.