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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T05:07:16+00:00 2026-06-03T05:07:16+00:00

I decided to try developing on python with django, while python is new to

  • 0

I decided to try developing on python with django, while python is new to me right now.

[I’m using Windows 7 64bit]

Then, i installed python 2.7, added C:\Python27\;C:\Python27\Scripts; to PATH variable.
Next, i installed Eclipse Classic (last version) and installed PyDev, and Django.

I created my first project on Eclipse as a Django project but couldn’t run it.
I’m trying (Right click on my project)-> Run as -> PyDev: Django, and i have the following console log:

Validating models...

Traceback (most recent call last):   File "C:\Users\Matan\workspace\FirstSample\manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)   File "C:\Python27\Lib\site-packages\django\core\management\__init__.py", line 443, in execute_from_command_line
    utility.execute()   File "C:\Python27\Lib\site-packages\django\core\management\__init__.py", line 382, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)   File "C:\Python27\Lib\site-packages\django\core\management\base.py", line 196, in run_from_argv
    self.execute(*args, **options.__dict__)   File "C:\Python27\Lib\site-packages\django\core\management\base.py", line 232, in execute
    output = self.handle(*args, **options)   File "C:\Python27\Lib\site-packages\django\core\management\commands\runserver.py", line 69, in handle
    self.run(*args, **options)   File "C:\Python27\Lib\site-packages\django\core\management\commands\runserver.py", line 80, in run

and the list goes on…

So i tried to run the project with the python console, using:

import Django

manage.py runserver

and i have the following syntax error:

File "<stdin>", line 1
  manage.py runserver
                    ^ SyntaxError: invalid syntax

What is the problem with running my project ? How can i solve this?

Thanks.

Edit:
After trying to run the project with the following command:

python manage.py runserver on the project directory, i receive the following traceback log: Validating models...

Unhandled exception in thread started by <bound method Command.inner_run of <dja ngo.contrib.staticfiles.management.commands.runserver.Command object at 0x000000 0002688748>> Traceback (most recent call last):   File "C:\Python27\lib\site-packages\django\core\management\commands\runserver. py", line 91, in inner_run
    self.validate(display_num_errors=True)   File "C:\Python27\lib\site-packages\django\core\management\base.py", line 266,  in validate
    num_errors = get_validation_errors(s, app)   File "C:\Python27\lib\site-packages\django\core\management\validation.py", lin e 23, in get_validation_errors
    from django.db import models, connection   File "C:\Python27\lib\site-packages\django\db\__init__.py", line 40, in <modul e>
    backend = load_backend(connection.settings_dict['ENGINE'])   File "C:\Python27\lib\site-packages\django\db\__init__.py", line 34, in
__geta ttr__
    return getattr(connections[DEFAULT_DB_ALIAS], item)   File "C:\Python27\lib\site-packages\django\db\utils.py", line 92, in
__getitem
__
    backend = load_backend(db['ENGINE'])   File "C:\Python27\lib\site-packages\django\db\utils.py", line 24, in load_back end
    return import_module('.base', backend_name)   File "C:\Python27\lib\site-packages\django\utils\importlib.py", line 35, in im port_module
    __import__(name)   File "C:\Python27\lib\site-packages\django\db\backends\mysql\base.py", line 16 , in <module>
    raise ImproperlyConfigured("Error loading MySQLdb module: %s" % e) django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module: No mo dule named MySQLdb
  • 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-03T05:07:18+00:00Added an answer on June 3, 2026 at 5:07 am

    Error loading MySQLdb module: No mo dule named MySQLdb

    You have configured your settings to you MySQL but you have not installed MySQL-python:

    pip install MySQL-python
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm new to python an I decided to give it a try with TG2
I'm using XAMPP for Windows and decided to try out Symfony 2 . As
So I've decided to try to solve my physics homework by writing some python
A few days ago I installed tomcat 7 and decided to try building a
I decided to try creating a simple C wrapper for the V8 API using
Hey everyone, I'm basically new to programming. I've decided to try and get started
I've been programming for a while, but just recently decided to start developing for
I am developing a small addon for firefox. I decided to try to enhance
I foolishly decided to try something new on a Friday job! So I have
I've been using QtCreator lately and decided to try out Visual Studio 2010 (Ultimate).

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.