Hi Stefan, Ok I have tried this a couple of ways but still the same error..... Error 1 Traceback (most recent call last): File "C:\Users\jeremydunn\Desktop\GroundSure\Algorithm\Wales_Drew\Tadas\Algorithm\run3.py", line 2, in <module> from algorithm import * File "C:\Users\jeremydunn\Desktop\GroundSure\Algorithm\Wales_Drew\Tadas\Algorithm\algorithm.py", line 7, in <module> from skimage.segmentation.slic import slic ImportError: No module named slic Error 2 Traceback (most recent call last): File "C:\Users\jeremydunn\Desktop\GroundSure\Algorithm\Wales_Drew\Tadas\Algorithm\run3.py", line 2, in <module> from algorithm import * File "C:\Users\jeremydunn\Desktop\GroundSure\Algorithm\Wales_Drew\Tadas\Algorithm\algorithm.py", line 7, in <module> from skimage.morphology import slic ImportError: cannot import name slic Am I missing something basic here ? Probably. Cheers. Jeremy. On Monday, 18 November 2013 16:15:28 UTC, Stefan van der Walt wrote:
On Mon, Nov 18, 2013 at 6:09 PM, Jeremy Dunne <jdun...@gmail.com<javascript:>> wrote:
This is everything that I am importing, does order matter ?
No, but there is no such stand-alone module as "slic". You have to import it as follows:
from skimage.morphology import slic
Stéfan
participants (1)
-
Jeremy Dunne