Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python: can't open file '/app/manage.py': [Errno 2] No such file or directory - Django - Docker Compose #4969

Open
Unknown9421 opened this issue Mar 28, 2024 · 1 comment

Comments

@Unknown9421
Copy link

Description:

When I create a Django project using Cookiecutter and run docker compose right after the project is created (docker-compose -f .\local.yml up -d --build) (local.yml), the django container gives me an error when running (starting script) (Python: cannot open file '/app/ management.py').

I don't know exactly where the problem lies

@MelvinvanMelzen
Copy link

Hey there! I was having the same issue on my windows machine, it didn't occur on another windows machine of mine. Therefore I guess it has something to do with the docker engine and/or wsl distro. I haven't figured it out yet but maybe this helps you to.

This issue is being transferred. Timeline may not be complete until it finishes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants