擅长:python、mysql、java
<p>在<a href="https://pypi.org/project/stratum/" rel="nofollow noreferrer">documentation</a>中,它表示需要{<cd1>}。因为您正在尝试使用Python3.5。在</p>
<p>我建议这样做(<a href="https://pypi.org/project/stratum/#history" rel="nofollow noreferrer">0.2.15</a>是最新版本),很可能它会工作,或者至少它会更容易调试。在</p>
<pre class="lang-sh prettyprint-override"><code>sudo apt-get update
sudo apt-get upgrade
pip3 download stratum==0.2.15
tar xvzf ./stratum-0.2.15.tar.gz
cd stratum-0.2.15
pip3 install .
</code></pre>