Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

mysql dependency

Open
#331 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
55/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Stale
Tech stack
mysql, python
Domain
documentation

Research direction

Start in the README and review the pip-install instructions alongside the reported mysql_config error. Document the Ubuntu libmariadbclient-dev dependency and note that equivalent packages may be needed on other distributions; done means a newcomer can find this prerequisite before installation fails.

Written by the indexing model from the issue text.

Description

In case anyone gets this error when running the pip install:

Collecting mysql-python==1.2.5 (from quark)
  Downloading https://files.pythonhosted.org/packages/a5/e9/51b544da85a36a68debe7a7091f068d802fc515a3a202652828c73453cad/MySQL-python-1.2.5.zip (108kB)
    100% |████████████████████████████████| 112kB 2.5MB/s 
    Complete output from command python setup.py egg_info:
    sh: 1: mysql_config: not found
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-3MdNFi/mysql-python/setup.py", line 17, in <module>
        metadata, options = get_config()
      File "setup_posix.py", line 43, in get_config
        libs = mysql_config("libs_r")
      File "setup_posix.py", line 25, in mysql_config
        raise EnvironmentError("%s not found" % (mysql_config.path,))
    EnvironmentError: mysql_config not found
    
    ----------------------------------------

Installing this dependency on Ubuntu will fix it:

sudo apt-get install libmariadbclient-dev

The package is probably similar on other distros.

Not a qark error but thought it was worth logging in case others hit it. Might be worth adding to the README.

Dominant language
Python
Stars
3.4k
Forks
663
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from linkedin/qark

All issues in linkedin/qark

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.