ImportError: No module named skimage.io

Georgios Samaras georgesamarasdit at gmail.com
Fri Jun 3 18:36:30 EDT 2016


I had to use sudo apt-get install -U scikit-image after all!

On Sat, Jun 4, 2016 at 1:11 AM, Georgios Samaras <georgesamarasdit at gmail.com
> wrote:

> I am trying to do this:
>
> sudo pip install -U scikit-image
>
> but I am getting:
>
> Cleaning up...
> Exception:
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 122, in
> main
>     status = self.run(options, args)
>   File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line
> 278, in run
>     requirement_set.prepare_files(finder, force_root_egg_info=self.bundle,
> bundle=self.bundle)
>   File "/usr/lib/python2.7/dist-packages/pip/req.py", line 1091, in
> prepare_files
>     req_to_install.check_if_exists()
>   File "/usr/lib/python2.7/dist-packages/pip/req.py", line 811, in
> check_if_exists
>     self.satisfied_by = pkg_resources.get_distribution(self.req)
>   File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py",
> line 535, in get_distribution
>     dist = get_provider(dist)
>   File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py",
> line 415, in get_provider
>     return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0]
> IndexError: list index out of range
>
> Storing debug log for failure in /home/gsamaras/.pip/pip.log
>
> --------------------------------------------------------------------------------------------------------------------------------------------------------
>
> How to fix this? For more, see this SO question
> <https://stackoverflow.com/questions/37623259/unable-to-import-caffe>.
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "scikit-image" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/scikit-image/0qGiE4BI2j8/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> scikit-image+unsubscribe at googlegroups.com.
> To post to this group, send email to scikit-image at googlegroups.com.
> To view this discussion on the web, visit
> https://groups.google.com/d/msgid/scikit-image/bab35bd2-2d1f-495b-8d64-8901db067664%40googlegroups.com
> <https://groups.google.com/d/msgid/scikit-image/bab35bd2-2d1f-495b-8d64-8901db067664%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-image/attachments/20160604/7f625761/attachment.html>


More information about the scikit-image mailing list