Error installing mysqldb module !

615 views
Skip to first unread message

Ansh Srivastava

unread,
Nov 11, 2018, 11:13:15 AM11/11/18
to django...@googlegroups.com
Hey there! I m tryin' to connect mysql database with django, While doin' it number of errors prompted out as below:-
Error sayin' :(install visual c++ for installing other mysql modules). However, I installed visual c++ and the error was get sorted out too. But, now this new mess came around sayin' :- (django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module.
Did you install mysqlclient?).
But when I m tryin' to install mysqldb through pip, another creepy thing comes up:-
  (Could not find a version that satisfies the requirement mysqldb (from versions
: )
(No matching distribution found for mysqldb)
 Any help would be appreciated.


Mailtrack Sender notified by
Mailtrack 11/11/18, 4:41:24 PM

Swetank Subham Roy

unread,
Nov 11, 2018, 11:31:32 AM11/11/18
to django...@googlegroups.com
First of all you have to install 'libmysqlclient' package globally then 'mysqlclient-dev' in project environment 

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAHMQ533yuHTkgh_bZT__jieb9t%3D3j2j5woqxRfjbDPZWVvCJfg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

vineeth sagar

unread,
Nov 11, 2018, 11:56:22 AM11/11/18
to django...@googlegroups.com
Ah using Windows the most braindead operating system the world has ever seen. My coworker had this problem and he solved it using the following command 

pip install --only-binary :all: mysqlclient

Good luck!


On Nov 11, 2018 5:01 PM, "Swetank Subham Roy" <swtnk....@gmail.com> wrote:
First of all you have to install 'libmysqlclient' package globally then 'mysqlclient-dev' in project environment 

On Sun, Nov 11, 2018, 4:42 PM Ansh Srivastava <ansh.sri...@gmail.com wrote:
Hey there! I m tryin' to connect mysql database with django, While doin' it number of errors prompted out as below:-
Error sayin' :(install visual c++ for installing other mysql modules). However, I installed visual c++ and the error was get sorted out too. But, now this new mess came around sayin' :- (django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module.
Did you install mysqlclient?).
But when I m tryin' to install mysqldb through pip, another creepy thing comes up:-
  (Could not find a version that satisfies the requirement mysqldb (from versions
: )
(No matching distribution found for mysqldb)
 Any help would be appreciated.


Mailtrack Sender notified by
Mailtrack 11/11/18, 4:41:24 PM

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.

To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
Reply all
Reply to author
Forward
0 new messages