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

  • Home
  • SEARCH
  • 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 6369105
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T00:45:38+00:00 2026-05-25T00:45:38+00:00

Why is it that I have to run python manage.py somecommand and others simply

  • 0

Why is it that I have to run python manage.py somecommand and others simply run manage.py somecommand? I’m on OSX 10.6. Is this because there is a pre-set way to enable .py files to automatically run as Python scripts, and I’ve somehow disabled the functionality, or is that something that you explicitly enable?

  • 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-05-25T00:45:38+00:00Added an answer on May 25, 2026 at 12:45 am

    If you are using a recent version of Django, the manage.py file should be an “executable” file by default.

    Please note, you cannot just type manage.py somecommand into the terminal as manage.py is not on the PATH, you will have to type ./ before it to run it from the current directory, i.e. ./manage.py somecommand.

    If that does not work please be sure that the manage.py file has:
    #!/usr/bin/env python
    as its first line. And make sure it is executable: chmod +x manage.py

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

Sidebar

Related Questions

I have two python scripts that have to run simultaneously because they interact with
I want to run javascript/Python/Ruby inside my application. I have an application that creates
I have some Python code that works correctly when I use python.exe to run
I have created a Python script that I want to run daily via a
I just wanted some opinions from people that have run Selenium ( http://selenium.openqa.org )
I have an application that I have to run as Administrator. One small part
We have several jobs that run concurrently that have to use the same config
I have run into an issue with WPF and Commands that are bound to
I'm currently writing a class that implements the SeekableIterator interface and have run into
I often run into the problem that I have one stream full of data

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.