开发者

Adding database module

I am new to django

I would like to s开发者_Python百科tart 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


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.


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
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜