Well, depending on the python version you use, you should set up a venv environment and install all your packages (including Django) in there again. Every time you want to run your Django project, you activate the venv (some IDEs may do this automatically). Here are the docs: https://docs.python.org/3/library/venv.html.