擅长:python、mysql、java
<p>你考虑过从python包安装MySQLdb吗?
我还建议用<code>pip</code>而不是<code>easy_install</code>来完成这项工作。</p>
<p>首先,可以用<code>pip</code>替换<code>easy_install</code>:</p>
<pre><code>easy_install pip
pip install pip --upgrade
</code></pre>
<p>然后通过PIP安装Django:</p>
<pre><code>pip install MySQL-python
pip install Django
</code></pre>
<p>通常,<code>easy_install</code>已经安装(setuptools的一部分),而pip更好。它还提供卸载选项,并使用平面安装目录,而不是鸡蛋文件魔术。这也可能解决一些不兼容的问题。</p>