All extensions crash due to Inkex import error (macOS v1.2)
Summary:
On my macOS installation, Inkex crashes at import. It seems to be a numpy import error.
init_dgelsd failed init
Traceback (most recent call last):
File "/Volumes/GoogleDrive/My Drive/Storage/Github/Academic-Inkscape/scientific_inkscape/autoexporter.py", line 50, in <module>
import inkex
File "/Applications/Inkscape.app/Contents/Resources/share/inkscape/extensions/inkex/__init__.py", line 11, in <module>
from .extensions import *
File "/Applications/Inkscape.app/Contents/Resources/share/inkscape/extensions/inkex/extensions.py", line 34, in <module>
from .elements import (
File "/Applications/Inkscape.app/Contents/Resources/share/inkscape/extensions/inkex/elements/__init__.py", line 13, in <module>
from ._polygons import PathElement, Polyline, Polygon, Line, Rectangle, Circle, Ellipse
File "/Applications/Inkscape.app/Contents/Resources/share/inkscape/extensions/inkex/elements/_polygons.py", line 31, in <module>
from ..bezier import pointdistance
File "/Applications/Inkscape.app/Contents/Resources/share/inkscape/extensions/inkex/bezier.py", line 29, in <module>
import numpy
File "/Applications/Inkscape.app/Contents/Resources/lib/python3.10/site-packages/numpy/__init__.py", line 380, 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, more information is available at:
https://numpy.org/doc/stable/user/building.html#accelerated-blas-lapack-libraries
Otherwise report this to the vendor that provided NumPy.
RankWarning: Polyfit may be poorly conditioned
Version info
Inkscape 1.2 (dc2aeda, 2022-05-15)
GLib version: 2.70.5
GTK version: 3.24.33
glibmm version: 2.60.0
gtkmm version: 3.24.5
libxml2 version: 2.9.12
libxslt version: 1.1.34
Cairo version: 1.17.6
Pango version: 1.50.6
HarfBuzz version: 2.9.1
OS version: macOS