mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-11 14:24:23 +08:00
spath: Allow importing even when not compiled.
This commit is contained in:
@@ -1 +1,9 @@
|
||||
from spath import shortest_path
|
||||
try:
|
||||
from spath import shortest_path
|
||||
except ImportError:
|
||||
print """*** The shortest path extension has not been compiled. Run
|
||||
|
||||
python setup.py build_ext -i
|
||||
|
||||
in the source directory to build in-place. Please refer to INSTALL.txt
|
||||
for further detail."""
|
||||
|
||||
Reference in New Issue
Block a user