I download the whl file via pip, unzip it then add the folder to sys.path but get this code sign error on mac 11.2.1:
Code:
Traceback (most recent call last):
File "/Users/x/Library/Preferences/calibre/plugins/worddumb-numpy1.20.1/numpy/core/__init__.py", line 22, in <module>
from . import multiarray
File "/Users/x/Library/Preferences/calibre/plugins/worddumb-numpy1.20.1/numpy/core/multiarray.py", line 12, in <module>
from . import overrides
File "/Users/x/Library/Preferences/calibre/plugins/worddumb-numpy1.20.1/numpy/core/overrides.py", line 7, in <module>
from numpy.core._multiarray_umath import (
ImportError: dlopen(/Users/x/Library/Preferences/calibre/plugins/worddumb-numpy1.20.1/numpy/core/_multiarray_umath.cpython-38-darwin.so, 2): no suitable image found. Did find:
/Users/x/Library/Preferences/calibre/plugins/worddumb-numpy1.20.1/numpy/core/_multiarray_umath.cpython-38-darwin.so: code signature in (/Users/x/Library/Preferences/calibre/plugins/worddumb-numpy1.20.1/numpy/core/_multiarray_umath.cpython-38-darwin.so) not valid for use in process using Library Validation: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.
But if I do the same thing in python(installed from homebrew python@3.8), it works.