Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8776943
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T19:10:42+00:00 2026-06-13T19:10:42+00:00

I am having trouble with the tutorial, I am stuck here django-admin.py startproject mysite

  • 0

I am having trouble with the tutorial, I am stuck here django-admin.py startproject mysite
In the shell I get an error django-admin.py Command no found

I believe I have set the correct path variables? Here is what I have done in the shell:

First I typed in $ python

from there python booted up and I got the >>>
so I typed import django and then django.get_version() and everything works
and I see 1.4.2

Next I exited python and tried to set up the test site from the tutorial.

$ django-admin.py startproject mysite

I get the same error.

django-admin.py Command no found

Where am I going wrong? Do I need to set the path for django as well?

Thanks for your help I tried to be as descriptive as possible.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T19:10:44+00:00Added an answer on June 13, 2026 at 7:10 pm

    It sounds like you don’t have django-admin.py in your path.

    A guide to solving it is outlined on the Django installation pitfalls page:

    SYMPTOM

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

    PROBABLE CAUSE

    You don’t have django-admin.py on your command search PATH.

    SOLUTION

    Link /bin/django-admin.py to whereever on your PATH.

    Note that Python on most unix-like system uses /usr/local/lib/python2.X/site-packages/ for 3rd-party packages:

    sudo ln -s /usr/local/lib/python2.4/site-packages/django/bin/django-admin.py /usr/local/bin/django-admin.py
    

    However, Python 2.6 uses /usr/local/lib/python2.6/dist-packages/ for 3rd-party packages:

    sudo ln -s /usr/local/lib/python2.6/dist-packages/django/bin/django-admin.py /usr/local/bin/django-admin.py
    

    You may get a “permission denied” message after this. To change the permissions of the django-admin.py file to be executable do:

    sudo chmod +x /usr/local/bin/django-admin.py
    

    If you’ve installed Python 2.6 and made it the default version, you may have to use django-admin-2.6.py startproject mysite instead.

    Mind you, this may not be sufficient if /usr/local/bin isn’t in your path. You can check your path easily in your terminal:

    $ echo $PATH
    /home/sebbe/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
    

    If /usr/local/bin isn’t in your path, you need to add that as well. See Add folder to PATH for an explanation of how to do that.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

having trouble getting my directx going I get the following error 1>Linking... 1>main.obj :
I'm having trouble. I followed a guide that I found here http://www.thenetworkadministrator.net/index.php/2011/12/iis-ssl-certificate-into-amazon-elastic-load-balancer/ And exported
I'm following the MVC 4 tutorial and I'm having some trouble with decimals and
I'm following the Rails Tutorial (Hartl), and having some trouble in section 3.6.4 Tests
I'm following a tutorial for a menu bar and I'm having trouble adapting it
Trying the following tutorial http://www.androidsdkforum.com/android-sdk-development/3-oauth-twitter.html i am having trouble understanding callback URL my twitter
I'm having trouble filling out a question on an online python tutorial. It seems
I'm having trouble implementing this jQuery plugin for dynamic forms while following this tutorial
I'm following the Twitter for Zombies tutorial and i'm having trouble getting the link_to
I'm working through an LLVM Tutorial , but I'm having trouble compiling. I've written

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.