擅长:python、mysql、java
<p>找到了!这种情况是,如果按照<a href="http://downloads.mariadb.org/" rel="noreferrer">http://downloads.mariadb.org/</a>中的ppa设置,mariadb有一个兼容的包。只是</p>
<pre><code>sudo apt-get install libmariadbclient-dev
</code></pre>
<p>感谢<a href="http://data-matters.blogspot.com/2013/08/install-mysql-python-with-mariadb.html" rel="noreferrer">http://data-matters.blogspot.com/2013/08/install-mysql-python-with-mariadb.html</a>
在此之后,<code>mysql-python</code>将正确安装</p>