擅长:python、mysql、java
<p>最好在Windows10的虚拟机上使用linux。然后您就可以轻松地安装<code>pygrib</code>。由于您正在尝试使用气象数据,建议安装Linux,它将在五月的地方为您提供帮助。甚至还有Anaconda有一个包(仅适用于Linux和Mac)。您可以使用以下命令安装:</p>
<p><code>conda install -c conda-forge pygrib=2.0.1</code></p>
<p>对于您的特定情况,以下链接可能有用:</p>
<p><a href="https://github.com/jswhit/pygrib/issues/19" rel="nofollow">https://github.com/jswhit/pygrib/issues/19</a></p>
<p><a href="https://github.com/jswhit/pygrib/pull/18" rel="nofollow">https://github.com/jswhit/pygrib/pull/18</a>和<a href="https://github.com/conda-forge/ecmwf_grib-feedstock/issues/5" rel="nofollow">https://github.com/conda-forge/ecmwf_grib-feedstock/issues/5</a></p>
<p>祝你好运。</p>