title: How to install scikit-image when the installation appears broken
body: <p>I'm a newbie in <code>Python</code>, coming from <code>R</code>, and I'm not a programmer, so please be patient if my question is quite silly or trivial, but I cannot find a solution by myself. <br></p>
  
  <p>I'm using <code>Python 3.7</code> in Spyder, in a Windows 10 machine.</p>
  
  <p>I'm following <a href="https://scikit-image.org/docs/dev/user_guide/tutorial_segmentation.html" rel="nofollow noreferrer">this tutorial</a>, and I've understood that I need the <code>scikit-image</code> module.</p>
  
  <p>I've learned that external package should be imported in the same environment of Spyder, so I'm installing them from Spyder:</p>
  
  <pre><code> ! pip install scikit-image
  </code></pre>
  
  <p>And I got this:</p>
  
  <blockquote>
    <p>Requirement already satisfied: scikit-image in
    c:\users\me\appdata\local\programs\python\python37-32\lib\site-packages
    (0.15.0) ...</p>
  </blockquote>
  
  <p>Same for pillow, networkx, PyWavelets, imageio, decorator, numpy (those I suppose they're the dependencies modules). It seems I've what I need.</p>
  
  <p>So I try the first command of the above mentioned tutorial, that is:</p>
  
  <pre><code>from skimage import data
  </code></pre>
  
  <p>But the results seems this:</p>
  
  <blockquote>
    <p>Traceback (most recent call last):</p>
    
    <p>File "", line 1, in 
        from skimage import data</p>
    
    <p>File
    "C:\Users\me\AppData\Local\Programs\Python\Python37-32\Lib\site-packages\skimage__init__.py",
    line 124, in 
        _raise_build_error(e)</p>
    
    <p>File
    "C:\Users\me\AppData\Local\Programs\Python\Python37-32\Lib\site-packages\skimage__init__.py",
    line 104, in _raise_build_error
        %s""" % (e, msg))</p>
    
    <p>ImportError: cannot import name 'geometry' from 'skimage._shared'
    (C:\Users\me\AppData\Local\Programs\Python\Python37-32\Lib\site-packages\skimage_shared__init__.py)
    It seems that scikit-image has not been built correctly.</p>
  </blockquote>
  
  <p>But I think that this is important:</p>
  
  <blockquote>
    <p>Your install of scikit-image appears to be broken. Try re-installing
    the package following the instructions at:
    <a href="https://scikit-image.org/docs/stable/install.html" rel="nofollow noreferrer">https://scikit-image.org/docs/stable/install.html</a></p>
  </blockquote>
  
  <p>So I went to that link, but the standard installation is what I tried to do. What am I doing wrong?</p>
  
  <p>Thanks in advance</p>
  
  <hr>
  
  <p><strong>EDIT1</strong>:
  I've followed the answer, I've run this:</p>
  
  <pre><code>!pip uninstall scikit-image --yes
  Uninstalling scikit-image-0.15.0:
    Successfully uninstalled scikit-image-0.15.0
  </code></pre>
  
  <p>Then</p>
  
  <pre><code>!pip install scikit-image
  </code></pre>
  
  <p>And the result is that is <code>already satisfied</code>:</p>
  
  <blockquote>
    <p>Requirement already satisfied: scikit-image in
    c:\users\me\appdata\local\continuum\anaconda3\lib\site-packages
    (0.15.0)</p>
  </blockquote>
  
  <p>And same for:matplotlib, networkx, pillow, imageio, PyWavelets, numpy, cycler, kiwisolver, pyparsing,python-dateutil, decorator, six, setuptools</p>
  
  <hr>
  
  <p><strong>EDIT2:</strong>, done in the anaconda prompt, already some package are already satisfied, so I restarted Spyder, and sending:</p>
  
  <pre><code>from skimage import data
  </code></pre>
  
  <p>Gives a different error:</p>
  
  <blockquote>
    <p>Traceback (most recent call last):</p>
    
    <p>File "", line 1, in 
        from skimage import data</p>
    
    <p>File
    "C:\Users\me\AppData\Local\Continuum\anaconda3\Lib\site-packages\skimage__init__.py",
    line 127, in 
        from .util.dtype import (img_as_float32,</p>
    
    <p>File
    "C:\Users\me\AppData\Local\Continuum\anaconda3\Lib\site-packages\skimage\util__init__.py",
    line 1, in 
        from .dtype import (img_as_float32, img_as_float64, img_as_float,</p>
    
    <p>File
    "C:\Users\me\AppData\Local\Continuum\anaconda3\Lib\site-packages\skimage\util\dtype.py",
    line 1, in 
        import numpy as np</p>
    
    <p>File
    "C:\Users\me\AppData\Local\Programs\Python\Python37-32\Lib\site-packages\numpy__init__.py",
    line 142, in 
        from . import core</p>
    
    <p>File
    "C:\Users\me\AppData\Local\Programs\Python\Python37-32\Lib\site-packages\numpy\core__init__.py",
    line 23, in 
        WinDLL(os.path.abspath(filename))</p>
    
    <p>File
    "C:\Users\me\AppData\Local\Continuum\anaconda3\lib\ctypes__init__.py",
    line 356, in <strong>init</strong>
        self._handle = _dlopen(self._name, mode)</p>
    
    <p>OSError: [WinError 193] %1 it's not a valid application of Win32 </p>
  </blockquote>
  
  <p>(the last line is translated by me) that I've searched, but despite is a rather well known problem, I cannot find a solution.</p>