Mysql-python in Windows

13 views
Skip to first unread message

Julián Melero Hidalgo

unread,
Dec 10, 2017, 4:45:04 PM12/10/17
to django...@googlegroups.com
Hi all!
I'm trying to install pip install mysql-python, but it doesn't works.
I'm using Win10, Xampp, Python 3.
How can I install it?
Thanks!!

Egor Smolyakov

unread,
Dec 10, 2017, 7:27:51 PM12/10/17
to django...@googlegroups.com
Hello.

Take a look at https://pypi.python.org/pypi/PyMySQL/0.7.11
> --
> 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/510fd5bd-1e89-4550-bbe5-45d36264db92%40email.android.com.
> For more options, visit https://groups.google.com/d/optout.
>


--
Kind Regards, Egor Smolyakov.

Julián Melero Hidalgo

unread,
Dec 11, 2017, 7:11:20 AM12/11/17
to django...@googlegroups.com

I resolved adding to manage.py:

import pymysql

pymysql.install_as_MySQLdb()

:D :D



El 11 de diciembre de 2017 a las 1:26 Egor Smolyakov escribió:


Hello.

Take a look at https://pypi.python.org/pypi/PyMySQL/0.7.11

On 10/12/2017, Julián Melero Hidalgo wrote:
Hi all!
I'm trying to install pip install mysql-python, but it doesn't works.
I'm using Win10, Xampp, Python 3.
How can I install it?
Thanks!!

--
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/510fd5bd-1e89-4550-bbe5-45d36264db92%40email.android.com.
For more options, visit https://groups.google.com/d/optout.


--
Kind Regards, Egor Smolyakov.

--
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.

Julián Melero Hidalgo

unread,
Dec 11, 2017, 7:11:20 AM12/11/17
to django...@googlegroups.com

Hi.

I installed it. But when I run "runserver" I have this error: "Did you install mysqlclient or MySQL-python?".

:(

El 11 de diciembre de 2017 a las 1:26 Egor Smolyakov escribió:


On 10/12/2017, Julián Melero Hidalgo wrote:
Hi all!
I'm trying to install pip install mysql-python, but it doesn't works.
I'm using Win10, Xampp, Python 3.
How can I install it?
Thanks!!

--
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/510fd5bd-1e89-4550-bbe5-45d36264db92%40email.android.com.
For more options, visit https://groups.google.com/d/optout.


--
Kind Regards, Egor Smolyakov.

--
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.
Reply all
Reply to author
Forward
0 new messages