Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 929dbcf

Browse files
lagruagriyakhetarpal
authored andcommittedMar 18, 2024
Account for unsupported subprocess
1 parent dc1e3bc commit 929dbcf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎skimage/__init__.py

+2
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,8 @@ def _raise_build_error(e):
163163
)
164164
except FileNotFoundError:
165165
pass
166+
except OSError:
167+
pass # If skimage is built with emscripten which does not support processes
166168
else:
167169
out, err = p.communicate()
168170
if p.returncode == 0:

0 commit comments

Comments
 (0)
Please sign in to comment.