Skip to content

Commit

Permalink
Account for unsupported subprocess
Browse files Browse the repository at this point in the history
  • Loading branch information
lagru authored and agriyakhetarpal committed Mar 18, 2024
1 parent dc1e3bc commit 929dbcf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions skimage/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,8 @@ def _raise_build_error(e):
)
except FileNotFoundError:
pass
except OSError:
pass # If skimage is built with emscripten which does not support processes
else:
out, err = p.communicate()
if p.returncode == 0:
Expand Down

0 comments on commit 929dbcf

Please sign in to comment.