Fiquei dois dias tentando resolver isso:
Traceback (most recent call last):
File "C:\Users\Ariel\Documents\GitHub\projeto_inicial_drf_clientes-master\populate_script.py", line 3, in <module>
django.setup()
File "C:\Users\Ariel\Documents\GitHub\projeto_inicial_drf_clientes-master\venv\Lib\site-packages\django\__init__.py", line 15, in setup
File "C:\Users\Ariel\Documents\GitHub\projeto_inicial_drf_clientes-master\venv\Lib\site-packages\django\conf\__init__.py", line 19, in <module>
from django.utils.deprecation import RemovedInDjango51Warning, RemovedInDjango60Warning
File "C:\Users\Ariel\Documents\GitHub\projeto_inicial_drf_clientes-master\venv\Lib\site-packages\django\utils\deprecation.py", line 4, in <module>
from asgiref.sync import iscoroutinefunction, markcoroutinefunction, sync_to_async
ImportError: cannot import name 'iscoroutinefunction' from 'asgiref.sync'
E por fim consegui. é só atualizar o:
asgiref==3.2.10
para
asgiref==3.8.1