ImportError: No module named skimage, scikit image already installed

I am trying to use skimage on mac and already installing packages from virtualenv, but when I do "from skimage import io" it gave me this error: "ImportError: No module scimage". I am wondering if there is something wrong with the installation process, but so far I cannot figure it out.

Below is my installation process:

  • sudo pip install virtualenv
  • cd / my / project / folder
  • virtualenv myproject
  • source myproject / bin / activate
  • pip install -U scikit-image Then the result is:

    "Successfully installed PyWavelets-0.5.2 cycler-0.10.0 decorator-4.0.11 functools32-3.2.3.post2 matplotlib-2.0.0 networkx-1.11 numpy-1.12.1 olefile-0.44 pillow-4.0.0 python -dateutil- 2.6.0 pytz-2017.2 scikit-image-0.13.0 scipy-0.19.0 subprocess32-3.2.7 "

It seems like I already have everything, but why import skimage still failed?

Also, I also tried using the installation guide http://scikit-image.org/download with "pip install -U scikit-image" and "easy_install -U scikit-image" but also failed.

I am on Mac Sierra, with python 2.7. Any suggestion would be much appreciated. Thank!

+3


source to share


1 answer


I am using Linux and I could not get it to work without doing

sudo apt-get install python-skimage

      

And I got this from the docs install page:

http://scikit-image.org/docs/stable/install.html



I'm not familiar with osx, but maybe try using a package manager like homebrew to install such a package.

sudo homebrew install python-skimage

      

Actually I'm very puzzled as to why there is no OSX section in the Installation section of the docs under the Installation section, but tiny information in the Download section.

0


source







All Articles