Projects that were previously in normal operation , Suddenly reported a mistake , Tips Exception in thread django-main-thread:
I saw a message on the Internet saying , hold django Just unload and reload , Suddenly it dawned on me , When I was running another project ,django edition The default from the 3.2 Down to 2.2, Considering that it might be django The version is reduced .
therefore , I put django Uninstalled , It's been re installed 3.2 edition .
The problem is solved .
So virtual environment is really important , Be sure to create a new virtual environment to run other projects !!