how to fix error , python 3.10 ,django 4.
You may need to install it -- make sure that you install it for the same Python version / virtual environment that you run your code with.