Error installing mysqlclient on macOS with python 3

Asked

Viewed 42 times

0

Error installing on macOS with python 3 pip3 install mysqlclient on macOS

    iMac-de-Qcx:~ gabrielveigalima$ pip3 install mysqlclient
    Collecting mysqlclient
      Using cached https://files.pythonhosted.org/packages/ec/fd/83329b9d3e14f7344d1cb31f128e6dbba70c5975c9e57896815dbb1988ad/mysqlclient-1.3.13.tar.gz
        Complete output from command python setup.py egg_info:
        Traceback (most recent call last):
          File "<string>", line 1, in <module>
          File

 "/private/var/folders/x0/z58kw6cs25q5_wy25s0x3lr00000gp/T/pip-install-z47p2lop/mysqlclient/setup.py", line 18, in <module>
            metadata, options = get_config()
          File "/private/var/folders/x0/z58kw6cs25q5_wy25s0x3lr00000gp/T/pip-install-z47p2lop/mysqlclient/setup_posix.py", line 60, in get_config
            libraries = [dequote(i[2:]) for i in libs if i.startswith('-l')]
          File "/private/var/folders/x0/z58kw6cs25q5_wy25s0x3lr00000gp/T/pip-install-z47p2lop/mysqlclient/setup_posix.py", line 60, in <listcomp>
            libraries = [dequote(i[2:]) for i in libs if i.startswith('-l')]
          File "/private/var/folders/x0/z58kw6cs25q5_wy25s0x3lr00000gp/T/pip-install-z47p2lop/mysqlclient/setup_posix.py", line 13, in dequote
            raise Exception("Wrong MySQL configuration: maybe https://bugs.mysql.com/bug.php?id=86971 ?")
        Exception: Wrong MySQL configuration: maybe https://bugs.mysql.com/bug.php?id=86971 ?

        ----------------------------------------
    Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/x0/z58kw6cs25q5_wy25s0x3lr00000gp/T/pip-install-z47p2lop/mysqlclient/
  • He even accessed the link https://bugs.mysql.com/bug.php?id=86971 that he suggests?

  • First update Pip: python3 -m pip3 install --upgrade pip3

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.