Error while installing Mahotas

Skip to first unread message

Poornachandra Sandur

Jul 1, 2017, 6:21:37 AM7/1/17
to pythonvision


The following error occurs while installing the Mahotas ... any help ??

 File "build/bdist.linux-x86_64/egg/pkg_resources/", line 2909, in __contains__

  File "build/bdist.linux-x86_64/egg/pkg_resources/_vendor/packaging/", line 703, in contains

  File "build/bdist.linux-x86_64/egg/pkg_resources/_vendor/packaging/", line 31, in parse

  File "build/bdist.linux-x86_64/egg/pkg_resources/_vendor/packaging/", line 230, in __init__

  File "build/bdist.linux-x86_64/egg/pkg_resources/_vendor/packaging/", line 353, in _cmpkey

RuntimeError: maximum recursion depth exceeded

Cleaning up...
Command python egg_info failed with error code 1 in /tmp/pip_build_root/mahotas
Storing debug log for failure in /home/poornachandra/.pip/pip.log

Luis Pedro Coelho

Jul 1, 2017, 7:35:37 PM7/1/17
to pythonvision
Hi Poornachandra,

I have never seen that error. What commands did you run to get it?

In general, for mahotas, I would recommend installing the anaconda
version through conda-forge (see the README file at


Luis Pedro Coelho | EMBL |
My blog:
> --
> You received this message because you are subscribed to the Google Groups
> "pythonvision" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
> For more options, visit
Reply all
Reply to author
0 new messages