Okay - i found a fix but it would be great to get this validated by someone
I removed the python
-> python3
alias from zsh to avoid namespace clashes
I created a virtual env called venv
with the following
python3 -m venv venv
which created a venv
folder in the root of my project.
I activated this with
. venv/bin/activate
and then had to reinstall django and django ninja
pip install django django-ninja
I was then able to run the runserver
command
./manage.py runserver
This all seems fine to me (although it does mean that I have a virtual environment folder in my project which seems like I should add this to the .gitignore
file) - does anyone have any thoughts please?
Thanks