Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

No module named '_overlapped'

Working on a masters project and a fellow course mate has developed a web application using Django on a windows computer and has sent the file to us. I am trying to run the server on my MacBook terminal but when I run it, get the error "ModuleNotFoundError: No module named '_overlapped'. I have installed trollius as recommended in a previous post but hasn't worked for me. any help?

like image 223
Aashav Shah Avatar asked Sep 17 '25 19:09

Aashav Shah


1 Answers

I got this error when I wanted NULL as default for my Model's field, so Visual Studio Code added automatically on the first line from asyncio.windows_events import NULL, I saw that the traceback were pointing 👇

File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/asyncio/windows_events.py", line 3, in <module> import _overlapped


So I just deleted from asyncio.windows_events import NULL, then the error was gone.

like image 199
AnonymousUser Avatar answered Sep 20 '25 08:09

AnonymousUser