Report this

What is the reason for this report?

-bash: django-admin.py: command not found

Posted on March 12, 2013

I have done a research but I still don’t found the solution. I installed Django, and when I make an import django in python it works.

So, what can I do?

Thanks



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Simply use python -m django startproject ‘whatever’, or python3 -m django startproject ‘whatever’. depending on the version you’re using

Have you checked below? <br> <br>https://code.djangoproject.com/wiki/InstallationPitfalls <br> <br> <br>All sources point here for this specific issue.

Yeah, I tried this and I still getting the error.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.