擅长:python、mysql、java
<p>简单地说,你需要安装twisted。你可以从<a href="http://twistedmatrix.com/trac/wiki/Downloads" rel="nofollow">the download page</a>获得它。看起来您需要从源代码安装到更新的Mac上,但这只是提取tarball并在解压文件夹中运行<code>python setup.py install</code>的情况。在</p>
<p>编辑:既然你已经安装了pip,你也可以用它抓取twisted。在</p>
<pre><code>pip -E twisted_env install -U twisted
</code></pre>