mirror of
https://github.com/wassname/scikit-image.git
synced 2026-09-12 12:50:49 +08:00
BUG: Fix imports for Python 3.2.
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
try:
|
||||
from spath import shortest_path
|
||||
from mcp import MCP, MCP_Geometric, route_through_array
|
||||
from .spath import shortest_path
|
||||
from .mcp import MCP, MCP_Geometric, route_through_array
|
||||
except ImportError:
|
||||
print """*** The cython extensions have 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."""
|
||||
for further detail."""
|
||||
|
||||
Reference in New Issue
Block a user