htfra
htfra
Same problem here as well. Stopped working in windows 11 and python 3.11. Then i switched to using WSL Debian, worked fine for a few days before that to stopped...
Windows 11 23H2 and python 3.11.4  WSL Distributor ID: Debian Description: Debian GNU/Linux 12 (bookworm) Release: 12 Codename: bookworm  Got my colleague to clone repo and do the...
It happens consistently on all versions of Python from 3.9 to 3.12. Most likely a windows issue, but i am not able to uninstall windows updates to test. 

Now python-dotenv suddenly started working again for me after getting the Cumulative Update for Windows 11.