title: Cannot import module mariadb
body: <p>I use python 3.9 on MacOS 11.2.2 and want to use mariadb, which is installed (&quot;mariadb 10.5.9 is already installed and up-to-date&quot;).</p>
  <p>However, python cannot import the module mariadb, and I get this error:</p>
  <pre><code>import mariadb  File &quot;/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/mariadb/__init__.py&quot;, line 10, in &lt;module&gt;
      from ._mariadb import (
  ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/mariadb/_mariadb.cpython-39-darwin.so, 2): Symbol not found: _mysql_ps_fetch_functions
    Referenced from: /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/mariadb/_mariadb.cpython-39-darwin.so
    Expected in: flat namespace
   in /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/mariadb/_mariadb.cpython-39-darwin.so
  </code></pre>
  <p>Pls help correct this. Thank you.</p>