0 votos

¿Cómo puedo resolver un error de mathplotlib en BigSur?

Mi compilación y versión de Big Sur no están determinadas. Estoy usando homebrew que dice enviar una solicitud de extracción en lugar de pedirles soporte en la versión preliminar de macOS.

Entiendo esto:

 > pip3 install matplotlib
Collecting matplotlib
  Using cached matplotlib-3.3.2.tar.gz (37.9 MB)
    ERROR: Command errored out with exit status 1:
     command: /usr/local/opt/python@3.9/bin/python3.9 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/1y/2wcx2c056m9d591zqdyv50mw0000gn/T/pip-install-zly4xiti/matplotlib/setup.py'"'"'; __file__='"'"'/private/var/folders/1y/2wcx2c056m9d591zqdyv50mw0000gn/T/pip-install-zly4xiti/matplotlib/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/1y/2wcx2c056m9d591zqdyv50mw0000gn/T/pip-pip-egg-info-mafx0kq9
         cwd: /private/var/folders/1y/2wcx2c056m9d591zqdyv50mw0000gn/T/pip-install-zly4xiti/matplotlib/
    Complete output (62 lines):

    Edit setup.cfg to change the build options; suppress output with --quiet.

    BUILDING MATPLOTLIB
      matplotlib: yes [3.3.2]
          python: yes [3.9.0 (default, Oct  6 2020, 04:17:54)  [Clang 12.0.0
                      (clang-1200.0.32.2)]]
        platform: yes [darwin]
     sample_data: yes [installing]
           tests: no  [skipping due to configuration]
          macosx: yes [installing]

    running egg_info
    creating /private/var/folders/1y/2wcx2c056m9d591zqdyv50mw0000gn/T/pip-pip-egg-info-mafx0kq9/matplotlib.egg-info
    writing /private/var/folders/1y/2wcx2c056m9d591zqdyv50mw0000gn/T/pip-pip-egg-info-mafx0kq9/matplotlib.egg-info/PKG-INFO

 ....

      File "/private/var/folders/1y/2wcx2c056m9d591zqdyv50mw0000gn/T/pip-install-zly4xiti/matplotlib/.eggs/numpy-1.19.2-py3.9-macosx-10.15-x86_64.egg/numpy/__init__.py", line 286, in <module>
        raise RuntimeError(msg)
    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

    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

Supongo que el backend de Accelerate no funciona en bigsur, pero ¿cómo puedo instalarlo con otro backend?

AppleAyuda.com

AppleAyuda es una comunidad de usuarios de los productos de Apple en la que puedes resolver tus problemas y dudas.
Puedes consultar las preguntas de otros usuarios, hacer tus propias preguntas o resolver las de los demás.

Powered by:

X