0

I am new to django

I would like to start a project but when i run it i get this error

Error loading MySQLdb module

How do i add the MYSQL module or any other module for that matter

2
  • 1
    -1: This is not a Django question. It's a Python question at best. It might be a generic "how do I use a computer" question or a "total newbie" question. Commented Oct 11, 2010 at 11:06
  • 2
    Try using the SQLite database first to get up and running before attempting to use a database that requires installation. Commented Oct 11, 2010 at 11:25

2 Answers 2

2

Install it on your system, using either a native installer or package, via pip or easy_install, or by running setup.py in the tarball.

Sign up to request clarification or add additional context in comments.

1 Comment

If you are using a virtual environment, make sure you activate it before installing.
0

you should install a mysql client and a mysql python client for that client. So you should execute following commands(For Debian systems)

apt-get install mysql-client
apt-get install python-mysqldb

2 Comments

The likelihood of the OP using anything other than Windows seems remote.
@Daniel: Cheeky =P +1 though ;)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.