Troubleshooting

    django-admin should be on your system path if youinstalled Django via . If it’s not on your path, you canfind it in site-packages/django/bin, where site-packages is a directorywithin your Python installation. Consider symlinking to from some place on your path, such as.

    If you’re using macOS, you may see the message “permission denied” whenyou try to run django-admin. This is because, on Unix-based systems likemacOS, a file must be marked as “executable” before it can be run as a program.To do this, open Terminal.app and navigate (using the cd command) to thedirectory where django-admin is installed, thenrun the command .

    Miscellaneous

    The resolution mostly depends on the context, however here are two commonpitfalls producing this error: