#32014: When Upgrading Django1.11 to Django latest
-------------------------------------+-------------------------------------
Reporter: Abishek Rajagopal | Owner: nobody
Type: Uncategorized | Status: closed
Component: Database layer | Version: 3.0
(models, ORM) |
Severity: Normal | Resolution: invalid
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by felixxm):
* status: new => closed
* resolution: => invalid
* easy: 1 => 0
* severity: Release blocker => Normal
Old description:
> After Installing the Latest Django version
> it asked me to upgrade Mysql clent as well
> like
>
> ""
> File "/usr/lib/python3.6/site-packages/django/db/backends/mysql/base.py",
> line 36, in <module>
> raise ImproperlyConfigured('mysqlclient 1.3.13 or newer is required;
> you have %s.' % Database.__version__)
> django.core.exceptions.ImproperlyConfigured: mysqlclient 1.3.13 or newer
> is required; you have 0.7.11.None.
>
> ""
>
> I installed latest version by pip install mysqlclient
>
> then im gettion this error,
>
> Collecting mysqlclient
> Using cached
> https://files.pythonhosted.org/packages/a5/e1/e5f2b231c05dc51d9d87fa5066f90d1405345c54b14b0b11a1c859020f21/mysqlclient-2.0.1.tar.gz
> Complete output from command python setup.py egg_info:
> /bin/sh: mysql_config: command not found
> /bin/sh: mariadb_config: command not found
> /bin/sh: mysql_config: command not found
> Traceback (most recent call last):
> File "<string>", line 1, in <module>
> File "/tmp/pip-build-0uh58twu/mysqlclient/setup.py", line 15, in
> <module>
> metadata, options = get_config()
> File "/tmp/pip-build-0uh58twu/mysqlclient/setup_posix.py", line 65,
> in get_config
> libs = mysql_config("libs")
> File "/tmp/pip-build-0uh58twu/mysqlclient/setup_posix.py", line 31,
> in mysql_config
> raise OSError("{} not found".format(_mysql_config_path))
> OSError: mysql_config not found
>
> Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-
> build-0uh58twu/mysqlclient/
>
> pls help
New description:
After Installing the Latest Django version
it asked me to upgrade Mysql clent as well
like
{{{
File "/usr/lib/python3.6/site-packages/django/db/backends/mysql/base.py",
line 36, in <module>
raise ImproperlyConfigured('mysqlclient 1.3.13 or newer is required;
you have %s.' % Database.__version__)
django.core.exceptions.ImproperlyConfigured: mysqlclient 1.3.13 or newer
is required; you have 0.7.11.None.
}}}
I installed latest version by pip install mysqlclient
then im gettion this error,
{{{
Collecting mysqlclient
Using cached
https://files.pythonhosted.org/packages/a5/e1/e5f2b231c05dc51d9d87fa5066f90d1405345c54b14b0b11a1c859020f21/mysqlclient-2.0.1.tar.gz
Complete output from command python setup.py egg_info:
/bin/sh: mysql_config: command not found
/bin/sh: mariadb_config: command not found
/bin/sh: mysql_config: command not found
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-0uh58twu/mysqlclient/setup.py", line 15, in
<module>
metadata, options = get_config()
File "/tmp/pip-build-0uh58twu/mysqlclient/setup_posix.py", line 65,
in get_config
libs = mysql_config("libs")
File "/tmp/pip-build-0uh58twu/mysqlclient/setup_posix.py", line 31,
in mysql_config
raise OSError("{} not found".format(_mysql_config_path))
OSError: mysql_config not found
}}}
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-
build-0uh58twu/mysqlclient/
pls help
--
Comment:
Please don't use Trac as a support channel. Also you have an issue with
`mysqlclient` not with Django.
--
Ticket URL: <https://code.djangoproject.com/ticket/32014#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/083.ee12f3db399ee4cd04b350acee738b70%40djangoproject.com.