Hello, I am having trouble installing scikit-image to my computer. Yesterday, I tried to install by running “pip install scikit-image” It installed fine, but when I run “import skimage” on python, I receive the error:
Traceback (most recent call last):
File “/usr/local/lib/python3.9/site-packages/skimage/init.py”, line 121, in
from ._shared import geometry
ImportError: dlopen(/usr/local/lib/python3.9/site-packages/skimage/_shared/geometry.cpython-39-darwin.so, 2): Symbol not found: ____chkstk_darwin
Referenced from: /usr/local/lib/python3.9/site-packages/skimage/_shared/…/.dylibs/libomp.dylib (which was built for Mac OS X 10.15)
Expected in: /usr/lib/libSystem.B.dylib
in /usr/local/lib/python3.9/site-packages/skimage/_shared/…/.dylibs/libomp.dylib
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “”, line 1, in
File “/usr/local/lib/python3.9/site-packages/skimage/init.py”, line 124, in
_raise_build_error(e)
File “/usr/local/lib/python3.9/site-packages/skimage/init.py”, line 102, in _raise_build_error
raise ImportError("""%s
ImportError: dlopen(/usr/local/lib/python3.9/site-packages/skimage/_shared/geometry.cpython-39-darwin.so, 2): Symbol not found: ____chkstk_darwin
Referenced from: /usr/local/lib/python3.9/site-packages/skimage/_shared/…/.dylibs/libomp.dylib (which was built for Mac OS X 10.15)
Expected in: /usr/lib/libSystem.B.dylib
in /usr/local/lib/python3.9/site-packages/skimage/_shared/…/.dylibs/libomp.dylib
It seems that scikit-image has not been built correctly.
Your install of scikit-image appears to be broken.
Try re-installing the package following the instructions at:
https://scikit-image.org/docs/stable/install.html
I tried creating a new install of python (version 3.9.1) on pyenv, but I am still having the same issue after installing scikit-image. Thank you