Skip to content Skip to sidebar Skip to footer

Python Suddenly Has Error: "no Module Named Unittest." I'm Not Running A Unit Test

I have a Django application, which very suddenly started giving me an error. I made a code change, restarted the application, and now I can't get rid of this error. I really don't

Solution 1:

Well, don't know if I'd call it an answer, but I reinstalled Python and now it's working. Now I just have to reinstall my 10 or so libraries to fix the runtime errors.

Solution 2:

unittest module is integral part of python, which causes import error when django tries to import it. You must have somehow deleted some python package, or have corrupted installation.

Post a Comment for "Python Suddenly Has Error: "no Module Named Unittest." I'm Not Running A Unit Test"