Posts

Showing posts from January, 2024

How to work with MySQL client package in MacBook

Image
  On installing mysqlclient package you may face the following issue: Collecting mysqlclient==2.2.0 (from -r requirements.txt (line 14))   Using cached mysqlclient-2.2.0.tar.gz (89 kB)   Installing build dependencies ... done   Getting requirements to build wheel ... error   error: subprocess-exited-with-error      × Getting requirements to build wheel did not run successfully.   │ exit code: 1         File "<string>", line 154, in <module>         File "<string>", line 48, in get_config_posix         File "<string>", line 27, in find_package_name       Exception: Can not find valid pkg-config name.       Specify MYSQLCLIENT_CFLAGS and MYSQLCLIENT_LDFLAGS env vars manually       [end of output]      note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-...