Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

installing skimage with pip3 fails

I am trying to pip install the package "skimage" on my Ubuntu VM to analyze structural similarity of images with scikit-image. But I always get a strange error. I already tried to install it with conda but it didn't succeeded either. Conda seems to know just "scikit-image" but not "skimage". The required packages like numpy, matplotlib, ... are installed and upgraded already.

My input:

pip3 install skimage

the error:

    ERROR: Command errored out with exit status 1:
     command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-k9rh2ebf/skimage/setup.py'"'"'; __file__='"'"'/tmp/pip-install-k9rh2ebf/skimage/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-k9rh2ebf/skimage/pip-egg-info
         cwd: /tmp/pip-install-k9rh2ebf/skimage/
    Complete output (3 lines):
    
    *** Please install the `scikit-image` package (instead of `skimage`) ***
    
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.


Thanks for your help!
like image 239
DaHst Avatar asked Oct 14 '25 14:10

DaHst


1 Answers

Look in to the documentation In order to install it you need to use the following command

pip install scikit-image

if you want to install it using the word skimage

sudo apt-get install python-skimage
like image 102
BeeFriedman Avatar answered Oct 17 '25 09:10

BeeFriedman



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!