You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error:
30/168] Generating 'skimage/feature/_cascade.cpython-312-darwin.so.p/_cascade.cpp'
performance hint: /private/var/folders/_h/mqqb04q14fgb2_g1d6qy_g5w0000gn/T/pip-install-awhqpvl6/scikit-image_0264575f847f4497b48809b76e7a8ef0/skimage/feature/_cascade.pyx:556:42: Exception check after calling '__pyx_fuse_0_multiblock_lbp' will always require the GIL to be acquired. Declare '__pyx_fuse_0_multiblock_lbp' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
performance hint: /private/var/folders/_h/mqqb04q14fgb2_g1d6qy_g5w0000gn/T/pip-install-awhqpvl6/scikit-image_0264575f847f4497b48809b76e7a8ef0/skimage/feature/_cascade.pyx:746:42: Exception check after calling 'classify' will always require the GIL to be acquired. Declare 'classify' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
ninja: build stopped: subcommand failed.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
after installing all the requirements(I ran pip install -r requirements.txt), running ./setup.sh encounters this error.
After seeing the ninja: build stopped, I installed ninja just to see if it solves the problem. It gave me the exact same error. How to solve this?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Error:
30/168] Generating 'skimage/feature/_cascade.cpython-312-darwin.so.p/_cascade.cpp'
performance hint: /private/var/folders/_h/mqqb04q14fgb2_g1d6qy_g5w0000gn/T/pip-install-awhqpvl6/scikit-image_0264575f847f4497b48809b76e7a8ef0/skimage/feature/_cascade.pyx:556:42: Exception check after calling '__pyx_fuse_0_multiblock_lbp' will always require the GIL to be acquired. Declare '__pyx_fuse_0_multiblock_lbp' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
performance hint: /private/var/folders/_h/mqqb04q14fgb2_g1d6qy_g5w0000gn/T/pip-install-awhqpvl6/scikit-image_0264575f847f4497b48809b76e7a8ef0/skimage/feature/_cascade.pyx:746:42: Exception check after calling 'classify' will always require the GIL to be acquired. Declare 'classify' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
ninja: build stopped: subcommand failed.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
after installing all the requirements(I ran pip install -r requirements.txt), running ./setup.sh encounters this error.
After seeing the ninja: build stopped, I installed ninja just to see if it solves the problem. It gave me the exact same error. How to solve this?
host machine: Macbook Air 13 (M2)
Beta Was this translation helpful? Give feedback.
All reactions