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 5843665
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T12:11:09+00:00 2026-05-22T12:11:09+00:00

I have many projects working in ubuntu with python2.7 and virtualenv/virtualenvwrapper, in my work

  • 0

I have many projects working in ubuntu with python2.7 and virtualenv/virtualenvwrapper, in my work some developers works with macosx and windows, generally I create the project as usual:

django-admin.py start project x

And we use svn for cvs, but in some point, without nothing rational for me, when I try something like:

python manage.py runserver

doesn’t work, but is just for me and is in my laptop, that doesn’t happens in productions servers or another developers.

any ideas?

I got this error:

Error: Can’t find the file ‘settings.py’ in the directory containing
‘manage.py’. It appears you’ve customized things. You’ll have to run
django-admin.py, passing it your settings module. (If the file
settings.py does indeed exist, it’s causing an ImportError somehow.)

But obviously, the settings file exists and is in the same folder of manage.py file, and doesn’t work just for me…

This happens too with django and appengine

  • 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-22T12:11:10+00:00Added an answer on May 22, 2026 at 12:11 pm

    I got this error:

    Error: Can’t find the file ‘settings.py’ in the directory containing ‘manage.py’. It appears you’ve customized things. You’ll have to run django-admin.py, passing it your settings module. (If the file settings.py does indeed exist, it’s causing an ImportError somehow.)

    The manage.py script prints that warning whenever an import error occurs, so if your settings.py module imports stuff and that causes an import error, manage.py will still print that warning.

    One way to diagnose would be to (temporarily) change manage.py from

    #!/usr/bin/env python
    from django.core.management import execute_manager
    try:
        import settings # Assumed to be in the same directory.
    except ImportError:
        import sys
        sys.stderr.write("Error: Can't find the file 'settings.py' in the directory containing %r. It appears you've customized things.\nYou'll have to run django-admin.py, passing it your settings module.\n(If the file settings.py does indeed exist, it's causing an ImportError somehow.)\n" % __file__)
        sys.exit(1)
    
    if __name__ == "__main__":
        execute_manager(settings)
    

    to

    #!/usr/bin/env python
    from django.core.management import execute_manager
    import settings # Assumed to be in the same directory.
    
    if __name__ == "__main__":
        execute_manager(settings)
    

    and see the stack trace that is printed when running $ python manage.py runserver.

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

Sidebar

Related Questions

I have been working on some of the projects of my own and dont
I'm working recently on many TYPO3 Projects and I'd like to have a good
At work where we do LOB .NET/MSSQL developement, many projects we have are 2
I have some experience in working with java, but many are telling MATLAB will
I'm working on a large project (for me) which will have many classes and
In my project, I have so many .png images. They are working properly in
I'm working on a web project, which have to process so many client requests.
We have many projects that use a common base of shared components (dlls). Currently
I have MANY small Test Projects where I put together just enough code to
Projects have many tasks and a task has a custom RESTful action called 'approve'.

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.