擅长:python、mysql、java
<p>我做到了!!!我修好了</p>
<p>对于此错误:</p>
<pre><code> RuntimeError: Polyfit sanity test emitted a warning, most likely due to using a buggy Accelerate backend.
If you compiled yourself, see site.cfg.example for information. Otherwise report this to the vendor that provided NumPy.
RankWarning: Polyfit may be poorly conditioned
</code></pre>
<p>我修复了安装旧版本的numpy的问题</p>
<pre><code>pip3 install force-reinstall numpy\<1.19
</code></pre>
<p>它成功了</p>
<p>对于第二个错误:</p>
<pre><code>(.......) The headers or library files could not be found for jpeg,a required dependency when compiling
Pillow from source.Please see the install instructions at: https://pillow.readthedocs.io/en/latest/installation.html
ERROR: Command errored out with exit status 1: /usr/local/opt/python@3.9/bin/python3.9 (...)
</code></pre>
<p>这是丢失的JPEG库。我建议你们安装自制软件。
通过以下方式解决了此问题:</p>
<pre><code>brew install libjpeg
</code></pre>