<p>免责声明:noob</p>
<p>我正在尝试启动streamparse(<a href="https://github.com/Parsely/streamparse" rel="nofollow">https://github.com/Parsely/streamparse</a>)并在我的机器上运行。我遵循这里的教程:<a href="https://youtu.be/ja4Qj9-l6WQ?t=18m50s" rel="nofollow">https://youtu.be/ja4Qj9-l6WQ?t=18m50s</a>。我已经安装了leiningen和pip,但是在运行命令时</p>
<pre><code>sparse quickstart
</code></pre>
<p>我得到了一个错误:</p>
^{pr2}$
<p>从我读到的内容来看,这似乎是python2和python3的名称“socketserver”不同的问题。我尝试下载python3,看看这是否能解决问题,但我一直遇到这个brew错误:</p>
<pre><code>Randalls-MacBook-Pro:streamparse randallbanks$ sudo brew install python3
Password:
Error: Cowardly refusing to `sudo brew install`
You can use brew with sudo, but only if the brew executable is owned by root.
However, this is both not recommended and completely unsupported so do so at
your own risk.
</code></pre>
<p>没有“sudo”:</p>
<pre><code>Randalls-MacBook-Pro:streamparse randallbanks$ brew install python3
Error: You must `brew link gdbm' before python3 can be installed
Randalls-MacBook-Pro:streamparse randallbanks$ brew link gdbm
Linking /usr/local/Cellar/gdbm/1.11...
Error: Could not symlink include/gdbm.h
/usr/local/include is not writable.
</code></pre>
<p>似乎“不推荐”解决此错误的方法。我试着从网站<a href="https://www.python.org/downloads/mac-osx/" rel="nofollow">https://www.python.org/downloads/mac-osx/</a>手动下载python3,但我不知道我在做什么,因为我安装了所有这些源文件。任何帮助我解决这个问题的最佳方向将不胜感激!在</p>