radiac / nanodjango

Full Django in a single file - views, models, API ,with async support. Automatically convert it to a full project.
543 stars 24 forks source link

Error: [Errno 11001] getaddrinfo failed #45

Open KikeVen opened 5 days ago

KikeVen commented 5 days ago

On Windows, I am getting the following error.

Error: [Errno 11001] getaddrinfo failed

Full error:

(venv) PS D:\Users\mike\Documents\03_work\0_python\1_sandbox\Ollama_crap\llama32_vision> nanodjango run vision_app.py
No changes detected in app 'vision_app'
Operations to perform:
  Apply all migrations: admin, auth, contenttypes, sessions, vision_app
Running migrations:
  No migrations to apply.
No changes detected in app 'vision_app'
Operations to perform:
  Apply all migrations: admin, auth, contenttypes, sessions, vision_app
Running migrations:
  No migrations to apply.
Watching for file changes with StatReloader
Performing system checks...

System check identified no issues (0 silenced).
Error: [Errno 11001] getaddrinfo failed
(venv) PS D:\Users\mike\Documents\03_work\0_python\1_sandbox\Ollama_crap\llama32_vision> 

I am run Django, Flask, FastAPI and don't get any of this, I am using your sample script. I even remove the # Django Ninja API route.

KikeVen commented 5 days ago

This was not in the documentation:

nanodjango manage vision_app.py runserver 127.0.0.1:8000