New branch in github cannot run manage.py - ImportError: Couldn't import Django
I have a perfectly working static Django site on my main branch in Github. But as soon as a make a second branch branch2 off that exact Django site of my main branch python manage.py runserver gives me this error (but the venv activates with no issues on the new branches before running manage.py) :
** "ImportError: Couldn't import Django. Are you sure it's installed and available on your PYTHONPATH environment variable? Did you forget to activate a virtual environment?"**
How can I setup my Django/python across these successive branches to run without issues?
I am using Django 5.1 and Python 3.12.1
I just want the manage.py server to run on each successive branch I create